mirror of https://gitee.com/openkylin/linux.git
15256f6cc4
Add an explicit check for QUEUE_FLAG_DAX to __bdev_dax_supported(). This
is needed for DM configurations where the first element in the dm-linear or
dm-stripe target supports DAX, but other elements do not. Without this
check __bdev_dax_supported() will pass for such devices, letting a
filesystem on that device mount with the DAX option.
Signed-off-by: Ross Zwisler <ross.zwisler@linux.intel.com>
Suggested-by: Mike Snitzer <snitzer@redhat.com>
Fixes: commit
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
dax-private.h | ||
dax.h | ||
device-dax.h | ||
device.c | ||
pmem.c | ||
super.c |