aboutsummaryrefslogtreecommitdiffstats
path: root/fs/internal.h
diff options
context:
space:
mode:
authorNamjae Jeon <linkinjeon@kernel.org>2023-03-16 07:34:33 +0900
committerAl Viro <viro@zeniv.linux.org.uk>2023-04-20 22:36:43 -0400
commit211db0ac9e3dc6c46f2dd53395b34d76af929faf (patch)
tree5ac415677d745afe5a37f9fe8b757c3392a34c9c /fs/internal.h
parentfe15c26ee26efa11741a7b632e9f23b01aca4cc6 (diff)
downloadlinux-211db0ac9e3dc6c46f2dd53395b34d76af929faf.tar.gz
ksmbd: remove internal.h include
Since vfs_path_lookup is exported, It should not be internal. Move vfs_path_lookup prototype in internal.h to linux/namei.h. Suggested-by: Al Viro <viro@zeniv.linux.org.uk> Reviewed-by: Christian Brauner <brauner@kernel.org> Signed-off-by: Namjae Jeon <linkinjeon@kernel.org> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/internal.h')
-rw-r--r--fs/internal.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/internal.h b/fs/internal.h
index dc4eb91a577a8..071a7517f1a74 100644
--- a/fs/internal.h
+++ b/fs/internal.h
@@ -59,8 +59,6 @@ extern int finish_clean_context(struct fs_context *fc);
*/
extern int filename_lookup(int dfd, struct filename *name, unsigned flags,
struct path *path, struct path *root);
-extern int vfs_path_lookup(struct dentry *, struct vfsmount *,
- const char *, unsigned int, struct path *);
int do_rmdir(int dfd, struct filename *name);
int do_unlinkat(int dfd, struct filename *name);
int may_linkat(struct mnt_idmap *idmap, const struct path *link);