From: Lukas Czerner Date: Sat, 12 Apr 2014 13:51:34 +0000 (-0400) Subject: fs: prevent doing FALLOC_FL_ZERO_RANGE on append only file X-Git-Tag: omap-for-v3.16/soc-signed~31^2~20 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8fc61d92630d1c96057a94c61e1643475045b25b;p=pandora-kernel.git fs: prevent doing FALLOC_FL_ZERO_RANGE on append only file 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 Signed-off-by: "Theodore Ts'o" --- Reading git-diff-tree failed