git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0bdb8fa
)
NFS: Check size by inode_newsize_ok in nfs_setattr
author
Kinglong Mee
<kinglongmee@gmail.com>
Wed, 26 Aug 2015 13:10:55 +0000
(21:10 +0800)
committer
Trond Myklebust
<trond.myklebust@primarydata.com>
Thu, 27 Aug 2015 23:44:21 +0000
(19:44 -0400)
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>
fs/nfs/inode.c
patch
|
blob
|
history
diff --cc
fs/nfs/inode.c
Simple merge