riscv: Fix comment regarding kernel mapping overlapping with IS_ERR_VALUE
[linux-2.6-microblaze.git] / fs / fhandle.c
index ec6feec..6630c69 100644 (file)
@@ -229,7 +229,7 @@ static long do_handle_open(int mountdirfd, struct file_handle __user *ufh,
                path_put(&path);
                return fd;
        }
-       file = file_open_root(path.dentry, path.mnt, "", open_flag, 0);
+       file = file_open_root(&path, "", open_flag, 0);
        if (IS_ERR(file)) {
                put_unused_fd(fd);
                retval =  PTR_ERR(file);