From: Steve French Date: Sun, 17 Aug 2014 23:16:40 +0000 (-0500) Subject: [SMB3] Enable fallocate -z support for SMB3 mounts X-Git-Tag: omap-for-v3.17/fixes-against-rc2~33^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=30175628bf7f521e9ee31ac98fa6d6fe7441a556;p=pandora-kernel.git [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 Reviewed-by: Pavel Shilovsky --- Reading git-diff-tree failed