aboutsummaryrefslogtreecommitdiffstats
path: root/fs/configfs/mount.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/configfs/mount.c')
-rw-r--r--fs/configfs/mount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/configfs/mount.c b/fs/configfs/mount.c
index 3e5fe843e1df..68bd5c93ca52 100644
--- a/fs/configfs/mount.c
+++ b/fs/configfs/mount.c
@@ -84,7 +84,7 @@ static int configfs_fill_super(struct super_block *sb, void *data, int silent)
84 inode->i_op = &configfs_dir_inode_operations; 84 inode->i_op = &configfs_dir_inode_operations;
85 inode->i_fop = &configfs_dir_operations; 85 inode->i_fop = &configfs_dir_operations;
86 /* directory inodes start off with i_nlink == 2 (for "." entry) */ 86 /* directory inodes start off with i_nlink == 2 (for "." entry) */
87 inode->i_nlink++; 87 inc_nlink(inode);
88 } else { 88 } else {
89 pr_debug("configfs: could not get root inode\n"); 89 pr_debug("configfs: could not get root inode\n");
90 return -ENOMEM; 90 return -ENOMEM;