diff options
| author | Dave Jiang <[email protected]> | 2018-04-19 20:39:43 +0000 |
|---|---|---|
| committer | Dan Williams <[email protected]> | 2018-04-19 22:11:50 +0000 |
| commit | ef8423022324cf79bd1b41d8707c766461e7e555 (patch) | |
| tree | b8e9e4cf41c1aa3bc463512d83f9182ec93419ad /drivers/fpga/fpga-region.c | |
| parent | Revert "libnvdimm, of_pmem: workaround OF_NUMA=n build error" (diff) | |
| download | kernel-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
