From: Christoph Hellwig Date: Sun, 7 Sep 2014 15:36:40 +0000 (-0700) Subject: nfs: setattr can only change regular file sizes X-Git-Tag: fixes-for-v3.18-merge-window~10^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=08a899d5d9532efb7dea99aad44dc9af39627a92;p=pandora-kernel.git nfs: setattr can only change regular file sizes The VFS never calls setattr with ATTR_SIZE on anything but regular files. Remove the if check and turn it into an assert similar to what some other file systems do. Signed-off-by: Christoph Hellwig Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed