aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
Diffstat (limited to 'fs')
-rw-r--r--fs/fuse/inode.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/fuse/inode.c b/fs/fuse/inode.c
index e8d360add50a..951e760d5c5a 100644
--- a/fs/fuse/inode.c
+++ b/fs/fuse/inode.c
@@ -472,6 +472,7 @@ static struct inode *get_root_inode(struct super_block *sb, unsigned mode)
472 472
473 attr.mode = mode; 473 attr.mode = mode;
474 attr.ino = FUSE_ROOT_ID; 474 attr.ino = FUSE_ROOT_ID;
475 attr.nlink = 1;
475 return fuse_iget(sb, 1, 0, &attr); 476 return fuse_iget(sb, 1, 0, &attr);
476} 477}
477 478