dax: remove bdev_dax_supported
authorChristoph Hellwig <hch@lst.de>
Thu, 26 Aug 2021 13:55:10 +0000 (15:55 +0200)
committerDan Williams <dan.j.williams@intel.com>
Thu, 26 Aug 2021 23:52:03 +0000 (16:52 -0700)
commitbdd3c50d83bf7f6acc869b48d02670d19030ae03
treeb03846a3a7f8dc3fa6527ad3c7fd7df786530c20
parenta384f088e4a102b97a59bc0fdaf8b60bca177679
dax: remove bdev_dax_supported

All callers already have a dax_device obtained from fs_dax_get_by_bdev
at hand, so just pass that to dax_supported() insted of doing another
lookup.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dan Williams <dan.j.williams@intel.com>
Link: https://lore.kernel.org/r/20210826135510.6293-10-hch@lst.de
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/dax/super.c
fs/ext2/super.c
fs/ext4/super.c
fs/xfs/xfs_super.c
include/linux/dax.h