Skip to content
Commit dfa584f6 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Dan Williams
Browse files

dm: use fs_dax_get_by_bdev instead of dax_get_by_host



There is no point in trying to finding the dax device if the DAX flag is
not set on the queue as none of the users of the device mapper exported
block devices could make use of the DAX capability.

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarDan Williams <dan.j.williams@intel.com>
Reviewed-by: default avatarMike Snitzer <snitzer@redhat.com>
Link: https://lore.kernel.org/r/20210826135510.6293-4-hch@lst.de


Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
parent 39b6389a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment