aboutsummaryrefslogtreecommitdiffstats
path: root/fs/9p/vfs_inode.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/9p/vfs_inode.c')
-rw-r--r--fs/9p/vfs_inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/9p/vfs_inode.c b/fs/9p/vfs_inode.c
index 7a7ec2d1d2f4..5241c600ce28 100644
--- a/fs/9p/vfs_inode.c
+++ b/fs/9p/vfs_inode.c
@@ -233,7 +233,7 @@ struct inode *v9fs_get_inode(struct super_block *sb, int mode)
233 inode->i_op = &v9fs_symlink_inode_operations; 233 inode->i_op = &v9fs_symlink_inode_operations;
234 break; 234 break;
235 case S_IFDIR: 235 case S_IFDIR:
236 inode->i_nlink++; 236 inc_nlink(inode);
237 if(v9ses->extended) 237 if(v9ses->extended)
238 inode->i_op = &v9fs_dir_inode_operations_ext; 238 inode->i_op = &v9fs_dir_inode_operations_ext;
239 else 239 else