projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b7e3f4
)
NFSv4: ACCESS validation doesn't require a full attribute refresh
author
Trond Myklebust
<Trond.Myklebust@netapp.com>
Mon, 30 Jan 2012 20:43:56 +0000
(15:43 -0500)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Wed, 1 Feb 2012 00:28:24 +0000
(19:28 -0500)
We only really need to check the change attribute, so let's just use the
server->cache_consistency_bitmask.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4proc.c
patch
|
blob
|
history
diff --git
a/fs/nfs/nfs4proc.c
b/fs/nfs/nfs4proc.c
index 828a76590af92e73a0f12bdd3386b05ac2a00160..1bb0be36a7260a3e3384d47828a7dd1eb073aec4 100644
(file)
--- a/
fs/nfs/nfs4proc.c
+++ b/
fs/nfs/nfs4proc.c
@@
-2512,7
+2512,7
@@
static int _nfs4_proc_access(struct inode *inode, struct nfs_access_entry *entry
struct nfs_server *server = NFS_SERVER(inode);
struct nfs4_accessargs args = {
.fh = NFS_FH(inode),
- .bitmask = server->
attr
_bitmask,
+ .bitmask = server->
cache_consistency
_bitmask,
};
struct nfs4_accessres res = {
.server = server,