diff options
author | Christoph Hellwig <hch@lst.de> | 2021-11-29 11:21:40 +0100 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2021-12-04 08:58:51 -0800 |
commit | 0c445871388f4bac74ea74e8c7a12c6c05c6a427 (patch) | |
tree | 12b27caa8604c6043d84356af401d9b88d433b25 /drivers/dax/bus.c | |
parent | 586f61682816f0cf7865b2dab7210b8f5339f834 (diff) | |
download | lwn-0c445871388f4bac74ea74e8c7a12c6c05c6a427.tar.gz lwn-0c445871388f4bac74ea74e8c7a12c6c05c6a427.zip |
dax: move the partition alignment check into fs_dax_get_by_bdev
fs_dax_get_by_bdev is the primary interface to find a dax device for a
block device, so move the partition alignment check there instead of
wiring it up through ->dax_supported.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dan Williams <dan.j.williams@intel.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Link: https://lore.kernel.org/r/20211129102203.2243509-7-hch@lst.de
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/dax/bus.c')
0 files changed, 0 insertions, 0 deletions