summaryrefslogtreecommitdiff
path: root/fs/nfs/file.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2014-09-07 19:36:40 +0400
committerTrond Myklebust <trond.myklebust@primarydata.com>2014-09-10 23:47:04 +0400
commit08a899d5d9532efb7dea99aad44dc9af39627a92 (patch)
tree8dd3f17b0b9fecbe9581084b33e826c05ada405a /fs/nfs/file.c
parent20d655d6197d02e98574208839da11684dc2ad1f (diff)
downloadlinux-08a899d5d9532efb7dea99aad44dc9af39627a92.tar.xz
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 <hch@lst.de> Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/nfs/file.c')
0 files changed, 0 insertions, 0 deletions