dax: remove the DAXDEV_F_SYNC flag
authorChristoph Hellwig <hch@lst.de>
Wed, 15 Dec 2021 08:45:07 +0000 (09:45 +0100)
committerDan Williams <dan.j.williams@intel.com>
Sat, 18 Dec 2021 16:04:52 +0000 (08:04 -0800)
commit30c6828a17a572aeb9e3a3bacce05fdcf1106541
treea85d894c91319e9688c5b82ee35e87caf648eaa3
parentfd1d00ec92002d8fe28ca981a72395eaa7ae3d11
dax: remove the DAXDEV_F_SYNC flag

Remove the DAXDEV_F_SYNC flag and thus the flags argument to alloc_dax and
just let the drivers call set_dax_synchronous directly.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Pankaj Gupta <pankaj.gupta@ionos.com>
Reviewed-by: Dan Williams <dan.j.williams@intel.com>
Link: https://lore.kernel.org/r/20211215084508.435401-4-hch@lst.de
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/dax/bus.c
drivers/dax/super.c
drivers/md/dm.c
drivers/nvdimm/pmem.c
drivers/s390/block/dcssblk.c
fs/fuse/virtio_fs.c
include/linux/dax.h