[PATCH 2/3 v2] fs: Prevent doing FALLOC_FL_ZERO_RANGE on append only file
Theodore Ts'o
tytso at mit.edu
Tue Apr 15 21:51:34 CDT 2014
On Wed, Apr 16, 2014 at 08:02:20AM +1000, Dave Chinner wrote:
> On Tue, Apr 15, 2014 at 06:41:15PM +0200, Lukas Czerner wrote:
> > Currently punch hole and collapse range fallocate operation are not
> > allowed on append only file. This should be case for zero range as well.
> > Fix it by allowing only pure fallocate (possibly with keep size set).
> >
> > Signed-off-by: Lukas Czerner <lczerner at redhat.com>
Thanks, updated with Dave's suggested added parenthesis.
- Ted
More information about the xfs
mailing list