aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/inode.c
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2005-06-22 13:16:27 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2005-06-22 16:07:26 -0400
commit458818ed76d3f495f9f32373c936456c9427f759 (patch)
treecf280ec14954d61fea2f171eaa198196fe5a1e56 /fs/nfs/inode.c
parent5c6a9f7d92291c832d47e792ed1fafa44acb066e (diff)
[PATCH] NFS: Fix up v3 ACL caching code
Initialize the inode cache values correctly. Clean up __nfs3_forget_cached_acls() Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/inode.c')
-rw-r--r--fs/nfs/inode.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/nfs/inode.c b/fs/nfs/inode.c
index 50a03f1504a1..8a8d57d9d660 100644
--- a/fs/nfs/inode.c
+++ b/fs/nfs/inode.c
@@ -1961,6 +1961,10 @@ static struct inode *nfs_alloc_inode(struct super_block *sb)
1961 if (!nfsi) 1961 if (!nfsi)
1962 return NULL; 1962 return NULL;
1963 nfsi->flags = 0; 1963 nfsi->flags = 0;
1964#ifdef CONFIG_NFS_V3_ACL
1965 nfsi->acl_access = ERR_PTR(-EAGAIN);
1966 nfsi->acl_default = ERR_PTR(-EAGAIN);
1967#endif
1964#ifdef CONFIG_NFS_V4 1968#ifdef CONFIG_NFS_V4
1965 nfsi->nfs4_acl = NULL; 1969 nfsi->nfs4_acl = NULL;
1966#endif /* CONFIG_NFS_V4 */ 1970#endif /* CONFIG_NFS_V4 */