...when calling fuse_iget(). Signed-off-by: Miklos Szeredi <mszeredi@xxxxxxxxxx> --- fs/fuse/inode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/fuse/inode.c b/fs/fuse/inode.c index aa0614e8791c..0a59062deb30 100644 --- a/fs/fuse/inode.c +++ b/fs/fuse/inode.c @@ -979,7 +979,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 { -- 2.43.2