summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2009-11-19 22:43:19 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2009-11-19 22:43:19 +0100
commite6236f781cc7777a2e74d256c478bb07496f35ec (patch)
tree559a5816b803ec3f86dae82bdb9e5d3f9c20deee /fs
parentvt: Fix use of "new" in a struct field (diff)
parentSUNRPC: Address buffer overrun in rpc_uaddr2sockaddr() (diff)
downloadlinux-e6236f781cc7777a2e74d256c478bb07496f35ec.tar.xz
linux-e6236f781cc7777a2e74d256c478bb07496f35ec.zip
Merge branch 'bugfixes' of git://git.linux-nfs.org/projects/trondmy/nfs-2.6
* 'bugfixes' of git://git.linux-nfs.org/projects/trondmy/nfs-2.6: SUNRPC: Address buffer overrun in rpc_uaddr2sockaddr() NFSv4: Fix a cache validation bug which causes getcwd() to return ENOENT
Diffstat (limited to 'fs')
-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 ff37454fa783..741a562177fc 100644
--- a/fs/nfs/nfs4proc.c
+++ b/fs/nfs/nfs4proc.c
@@ -2767,7 +2767,7 @@ static int _nfs4_proc_readdir(struct dentry *dentry, struct rpc_cred *cred,
.pages = &page,
.pgbase = 0,
.count = count,
- .bitmask = NFS_SERVER(dentry->d_inode)->cache_consistency_bitmask,
+ .bitmask = NFS_SERVER(dentry->d_inode)->attr_bitmask,
};
struct nfs4_readdir_res res;
struct rpc_message msg = {