diff options
author | Steve French <smfrench@gmail.com> | 2014-08-17 18:16:40 -0500 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2014-08-17 18:16:40 -0500 |
commit | 30175628bf7f521e9ee31ac98fa6d6fe7441a556 (patch) | |
tree | 6f3099407d45e8cc4d6b438f6587ddce8ef96cba /fs/cifs/inode.c | |
parent | 31742c5a331766bc7df6b0d525df00c6cd20d5a6 (diff) | |
download | linux-rpi-30175628bf7f521e9ee31ac98fa6d6fe7441a556.tar.gz linux-rpi-30175628bf7f521e9ee31ac98fa6d6fe7441a556.tar.bz2 linux-rpi-30175628bf7f521e9ee31ac98fa6d6fe7441a556.zip |
[SMB3] Enable fallocate -z support for SMB3 mounts
fallocate -z (FALLOC_FL_ZERO_RANGE) can map to SMB3
FSCTL_SET_ZERO_DATA SMB3 FSCTL but FALLOC_FL_ZERO_RANGE
when called without the FALLOC_FL_KEEPSIZE flag set could want
the file size changed so we can not support that subcase unless
the file is cached (and thus we know the file size).
Signed-off-by: Steve French <smfrench@gmail.com>
Reviewed-by: Pavel Shilovsky <pshilovsky@samba.org>
Diffstat (limited to 'fs/cifs/inode.c')
0 files changed, 0 insertions, 0 deletions