aboutsummaryrefslogtreecommitdiffstats
path: root/fs/anon_inodes.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/anon_inodes.c')
-rw-r--r--fs/anon_inodes.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/anon_inodes.c b/fs/anon_inodes.c
index 9c8e87b0361f..5365527ca43f 100644
--- a/fs/anon_inodes.c
+++ b/fs/anon_inodes.c
@@ -193,6 +193,7 @@ static struct inode *anon_inode_mkinode(void)
193 if (!inode) 193 if (!inode)
194 return ERR_PTR(-ENOMEM); 194 return ERR_PTR(-ENOMEM);
195 195
196 inode->i_ino = get_next_ino();
196 inode->i_fop = &anon_inode_fops; 197 inode->i_fop = &anon_inode_fops;
197 198
198 inode->i_mapping->a_ops = &anon_aops; 199 inode->i_mapping->a_ops = &anon_aops;