diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2021-04-02 01:00:57 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2021-04-07 19:56:43 +0200 |
commit | ffb37ca3bd16ce6ea2df2f87fde9a31e94ebb54b (patch) | |
tree | 3181f65f00970c041c87262309e5737b8139b080 /fs/fhandle.c | |
parent | LOOKUP_MOUNTPOINT: we are cleaning "jumped" flag too late (diff) | |
download | linux-ffb37ca3bd16ce6ea2df2f87fde9a31e94ebb54b.tar.xz linux-ffb37ca3bd16ce6ea2df2f87fde9a31e94ebb54b.zip |
switch file_open_root() to struct path
... and provide file_open_root_mnt(), using the root of given mount.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/fhandle.c')
-rw-r--r-- | fs/fhandle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/fhandle.c b/fs/fhandle.c index ec6feeccc276..6630c69c23a2 100644 --- a/fs/fhandle.c +++ b/fs/fhandle.c @@ -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); |