aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4proc.c
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2012-01-30 15:43:56 -0500
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-01-31 19:28:24 -0500
commita4980e7840176b4baa60715c32c5994b084ea9a6 (patch)
tree03c2382a2133d8fb8c6259bf98f6f1fb38c96004 /fs/nfs/nfs4proc.c
parent8b7e3f49ddda0d43c5bc8de404c1dc7e7a13cc80 (diff)
NFSv4: ACCESS validation doesn't require a full attribute refresh
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>
Diffstat (limited to 'fs/nfs/nfs4proc.c')
-rw-r--r--fs/nfs/nfs4proc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c
index 828a76590af9..1bb0be36a726 100644
--- 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
2512 struct nfs_server *server = NFS_SERVER(inode); 2512 struct nfs_server *server = NFS_SERVER(inode);
2513 struct nfs4_accessargs args = { 2513 struct nfs4_accessargs args = {
2514 .fh = NFS_FH(inode), 2514 .fh = NFS_FH(inode),
2515 .bitmask = server->attr_bitmask, 2515 .bitmask = server->cache_consistency_bitmask,
2516 }; 2516 };
2517 struct nfs4_accessres res = { 2517 struct nfs4_accessres res = {
2518 .server = server, 2518 .server = server,