dm: make the DAX support depend on CONFIG_FS_DAX
authorChristoph Hellwig <hch@lst.de>
Mon, 29 Nov 2021 10:21:36 +0000 (11:21 +0100)
committerDan Williams <dan.j.williams@intel.com>
Sat, 4 Dec 2021 16:58:50 +0000 (08:58 -0800)
commit5d2a228b9e1319ff188f9ea89006fbe575561921
tree5008bb2a1ce20f5f1b3e0ef9e7c802a9f8ad37fd
parentd751939235b9b7bc4af15f90a3e99288a8b844a7
dm: make the DAX support depend on CONFIG_FS_DAX

The device mapper DAX support is all hanging off a block device and thus
can't be used with device dax.  Make it depend on CONFIG_FS_DAX instead
of CONFIG_DAX_DRIVER.  This also means that bdev_dax_pgoff only needs to
be built under CONFIG_FS_DAX now.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Mike Snitzer <snitzer@redhat.com>
Link: https://lore.kernel.org/r/20211129102203.2243509-3-hch@lst.de
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/dax/super.c
drivers/md/dm-linear.c
drivers/md/dm-log-writes.c
drivers/md/dm-stripe.c
drivers/md/dm-writecache.c
drivers/md/dm.c