summaryrefslogtreecommitdiff
path: root/packages/CVS/Root
blob: e0eb5513c8f27c6dc26a7a9d9a802caa0dbe51f3 (plain)
1
broeker@cscope.cvs.sourceforge.net:/cvsroot/cscope
able>
authorDave Chinner <dchinner@redhat.com>2016-08-17 08:41:10 +1000
committerDave Chinner <david@fromorbit.com>2016-08-17 08:41:10 +1000
commit8896b8f60951ff0a8b7092f495a445714a1bddc4 (patch)
tree2679e5c31f31e9168da223b8c016bba2b29cbe96
parent274c887494cb248eb05f8180bda8298942d98625 (diff)
iomap: fiemap should honor the FIEMAP_FLAG_SYNC flag
The flag is checked as supported, but then we do an unconditional sync of the file, regardless of whether the flag is set or not. Make the sync conditional on having the FIEMAP_FLAG_SYNC flag set. Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat
-rw-r--r--fs/iomap.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/fs/iomap.c b/fs/iomap.c