summaryrefslogtreecommitdiffstats
path: root/fs/ksmbd/vfs.c
diff options
context:
space:
mode:
authorNamjae Jeon <linkinjeon@kernel.org>2023-03-15 23:34:33 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2023-04-21 04:36:43 +0200
commit211db0ac9e3dc6c46f2dd53395b34d76af929faf (patch)
tree5ac415677d745afe5a37f9fe8b757c3392a34c9c /fs/ksmbd/vfs.c
parentLinux 6.3-rc1 (diff)
downloadlinux-211db0ac9e3dc6c46f2dd53395b34d76af929faf.tar.xz
linux-211db0ac9e3dc6c46f2dd53395b34d76af929faf.zip
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/ksmbd/vfs.c')
-rw-r--r--fs/ksmbd/vfs.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/ksmbd/vfs.c b/fs/ksmbd/vfs.c
index 5ea9229dad2c..cef07d7fb7dc 100644
--- a/fs/ksmbd/vfs.c
+++ b/fs/ksmbd/vfs.c
@@ -19,8 +19,6 @@
#include <linux/sched/xacct.h>
#include <linux/crc32c.h>
-#include "../internal.h" /* for vfs_path_lookup */
-
#include "glob.h"
#include "oplock.h"
#include "connection.h"