fuse: use FUSE_ROOT_ID in fuse_get_root_inode()
...when calling fuse_iget(). Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
This commit is contained in:
+1
-1
@@ -981,7 +981,7 @@ static struct inode *fuse_get_root_inode(struct super_block *sb, unsigned mode)
|
||||
attr.mode = mode;
|
||||
attr.ino = FUSE_ROOT_ID;
|
||||
attr.nlink = 1;
|
||||
return fuse_iget(sb, 1, 0, &attr, 0, 0);
|
||||
return fuse_iget(sb, FUSE_ROOT_ID, 0, &attr, 0, 0);
|
||||
}
|
||||
|
||||
struct fuse_inode_handle {
|
||||
|
||||
Reference in New Issue
Block a user