aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/fpga-region.c
diff options
context:
space:
mode:
authorDave Jiang <[email protected]>2018-04-19 20:39:43 +0000
committerDan Williams <[email protected]>2018-04-19 22:11:50 +0000
commitef8423022324cf79bd1b41d8707c766461e7e555 (patch)
treeb8e9e4cf41c1aa3bc463512d83f9182ec93419ad /drivers/fpga/fpga-region.c
parentRevert "libnvdimm, of_pmem: workaround OF_NUMA=n build error" (diff)
downloadkernel-ef8423022324cf79bd1b41d8707c766461e7e555.tar.gz
kernel-ef8423022324cf79bd1b41d8707c766461e7e555.zip
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: <[email protected]> Fixes: b6fb293f2497 ("mm: Define MAP_SYNC and VM_SYNC flags") Signed-off-by: Dave Jiang <[email protected]> Reviewed-by: Dan Williams <[email protected]> Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-region.c')
0 files changed, 0 insertions, 0 deletions