WSL2-Linux-Kernel/drivers/dax
Dave Jiang ef84230223 device-dax: allow MAP_SYNC to succeed
MAP_SYNC is a nop for device-dax. Allow MAP_SYNC to succeed on device-dax
to eliminate special casing between device-dax and fs-dax as to when the
flag can be specified. Device-dax users already implicitly assume that they do
not need to call fsync(), and this enables them to explicitly check for this
capability.

Cc: <stable@vger.kernel.org>
Fixes: b6fb293f24 ("mm: Define MAP_SYNC and VM_SYNC flags")
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Reviewed-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
2018-04-19 15:11:50 -07:00
..
Kconfig dax: introduce CONFIG_DAX_DRIVER 2018-04-03 05:41:19 -07:00
Makefile
dax-private.h
dax.h
device-dax.h
device.c device-dax: allow MAP_SYNC to succeed 2018-04-19 15:11:50 -07:00
pmem.c device-dax: use module_nd_driver 2018-03-15 07:18:47 -07:00
super.c dax: store pfns in the radix 2018-03-30 11:34:54 -07:00