Re: [PATCH] xfs: Honor FALLOC_FL_KEEP_SIZE when punching ends of files

From: Calvin Owens
Date: Fri Mar 17 2017 - 22:56:44 EST


> Fix this by reintroducing the checks xfs_zero_remaining_bytes() did
> against i_size into xfs_zero_range().

Sorry this is wrong: I missed that xfs_zero_range() has another caller that
depends on the behavior I'm changing. I'll send a v2 with the same hunk at
the bottom of xfs_free_file_space() instead.

Thanks,
Calvin