[PATCH 1/2] iomap: fiemap should honor the FIEMAP_FLAG_SYNC flag

Christoph Hellwig hch at infradead.org
Tue Aug 9 02:28:36 CDT 2016


On Mon, Aug 08, 2016 at 04:22:30PM +1000, Dave Chinner wrote:
> From: Dave Chinner <dchinner at redhat.com>
> 
> 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 at redhat.com>

Looks fine,

Reviewed-by: Christoph Hellwig <hch at lst.de>



More information about the xfs mailing list