diff options
author | Dave Jiang <dave.jiang@intel.com> | 2018-04-19 13:39:43 -0700 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2018-04-19 15:11:50 -0700 |
commit | ef8423022324cf79bd1b41d8707c766461e7e555 (patch) | |
tree | b8e9e4cf41c1aa3bc463512d83f9182ec93419ad /firmware | |
parent | f22acf82746dd3d75e06d7c5801926d3b9c50169 (diff) | |
download | lwn-ef8423022324cf79bd1b41d8707c766461e7e555.tar.gz lwn-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: <stable@vger.kernel.org>
Fixes: b6fb293f2497 ("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>
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions