]> Git Repo - linux.git/commit
iomap: fiemap should honor the FIEMAP_FLAG_SYNC flag
authorDave Chinner <[email protected]>
Tue, 16 Aug 2016 22:41:10 +0000 (08:41 +1000)
committerDave Chinner <[email protected]>
Tue, 16 Aug 2016 22:41:10 +0000 (08:41 +1000)
commit8896b8f60951ff0a8b7092f495a445714a1bddc4
tree2679e5c31f31e9168da223b8c016bba2b29cbe96
parent274c887494cb248eb05f8180bda8298942d98625
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 <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Dave Chinner <[email protected]>
fs/iomap.c
This page took 0.050422 seconds and 4 git commands to generate.