diff options
author | Lukas Czerner <lczerner@redhat.com> | 2014-04-12 09:51:34 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2014-04-12 09:51:34 -0400 |
commit | 8fc61d92630d1c96057a94c61e1643475045b25b (patch) | |
tree | 92a35f28bac2ae3893db6fc7be39e461eabfd588 /include/crypto/ablk_helper.h | |
parent | 9ef06cec7c96f6bf59f1dd8b64b9645820099051 (diff) | |
download | linux-8fc61d92630d1c96057a94c61e1643475045b25b.tar.gz linux-8fc61d92630d1c96057a94c61e1643475045b25b.tar.bz2 linux-8fc61d92630d1c96057a94c61e1643475045b25b.zip |
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 <lczerner@redhat.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'include/crypto/ablk_helper.h')
0 files changed, 0 insertions, 0 deletions