Commit 253e5243 authored by Miklos Szeredi's avatar Miklos Szeredi

fuse: use FUSE_ROOT_ID in fuse_get_root_inode()

...when calling fuse_iget().
Signed-off-by: default avatarMiklos Szeredi <mszeredi@redhat.com>
parent b1fe686a
......@@ -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 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment