diff options
author | Kinglong Mee <kinglongmee@gmail.com> | 2015-08-26 16:10:55 +0300 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2015-08-28 02:44:21 +0300 |
commit | ae57ca0f4fce219ef34c28f0edc210598c465a4d (patch) | |
tree | 68739ac2fea68629b55962c6ee12093d070b6c9f /fs/nfs/nfs4file.c | |
parent | 0bdb8fa6ecb4a356f26c6874db51b5488706e088 (diff) | |
download | linux-ae57ca0f4fce219ef34c28f0edc210598c465a4d.tar.xz |
NFS: Check size by inode_newsize_ok in nfs_setattr
Set rlimit for NFS's files is useless right now.
For local process's rlimit, it should be checked by nfs client.
The same, CIFS also call inode_change_ok checking rlimit at its client
in cifs_setattr_nounix() and cifs_setattr_unix().
v3, fix bad using of error
Signed-off-by: Kinglong Mee <kinglongmee@gmail.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/nfs/nfs4file.c')
0 files changed, 0 insertions, 0 deletions