From: Anna Schumaker Date: Mon, 16 Mar 2015 18:06:23 +0000 (-0400) Subject: NFS: Don't zap caches on fallocate() X-Git-Tag: omap-for-v4.1/fixes-rc1~19^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a51940bf65bf9fdc93027d70bdecdfc403c5b24;p=pandora-kernel.git NFS: Don't zap caches on fallocate() This patch adds a GETATTR to the end of ALLOCATE and DEALLOCATE operations so we can set the updated inode size and change attribute directly. DEALLOCATE will still need to release pagecache pages, so nfs42_proc_deallocate() now calls truncate_pagecache_range() before contacting the server. Signed-off-by: Anna Schumaker Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed