diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2021-04-02 02:00:57 +0300 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2021-04-07 20:56:43 +0300 |
commit | ffb37ca3bd16ce6ea2df2f87fde9a31e94ebb54b (patch) | |
tree | 3181f65f00970c041c87262309e5737b8139b080 /fs/internal.h | |
parent | 4f0ed93fb92d3528c73c80317509df3f800a222b (diff) | |
download | linux-ffb37ca3bd16ce6ea2df2f87fde9a31e94ebb54b.tar.xz |
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/internal.h')
-rw-r--r-- | fs/internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/internal.h b/fs/internal.h index 6aeae7ef3380..3ce8edbaa3ca 100644 --- a/fs/internal.h +++ b/fs/internal.h @@ -129,7 +129,7 @@ struct open_flags { }; extern struct file *do_filp_open(int dfd, struct filename *pathname, const struct open_flags *op); -extern struct file *do_file_open_root(struct dentry *, struct vfsmount *, +extern struct file *do_file_open_root(const struct path *, const char *, const struct open_flags *); extern struct open_how build_open_how(int flags, umode_t mode); extern int build_open_flags(const struct open_how *how, struct open_flags *op); |