aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/inode.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfs/inode.c')
-rw-r--r--fs/nfs/inode.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/fs/nfs/inode.c b/fs/nfs/inode.c
index c45bd52cc1d7..350c48c12639 100644
--- a/fs/nfs/inode.c
+++ b/fs/nfs/inode.c
@@ -142,10 +142,6 @@ nfs_delete_inode(struct inode * inode)
142 clear_inode(inode); 142 clear_inode(inode);
143} 143}
144 144
145/*
146 * For the moment, the only task for the NFS clear_inode method is to
147 * release the mmap credential
148 */
149static void 145static void
150nfs_clear_inode(struct inode *inode) 146nfs_clear_inode(struct inode *inode)
151{ 147{
@@ -1923,6 +1919,9 @@ static struct inode *nfs_alloc_inode(struct super_block *sb)
1923 if (!nfsi) 1919 if (!nfsi)
1924 return NULL; 1920 return NULL;
1925 nfsi->flags = 0; 1921 nfsi->flags = 0;
1922#ifdef CONFIG_NFS_V4
1923 nfsi->nfs4_acl = NULL;
1924#endif /* CONFIG_NFS_V4 */
1926 return &nfsi->vfs_inode; 1925 return &nfsi->vfs_inode;
1927} 1926}
1928 1927