summaryrefslogtreecommitdiff
path: root/fs/d_path.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2023-05-16 22:54:38 +0300
committerChristian Brauner <brauner@kernel.org>2023-05-17 10:16:59 +0300
commitdf67cb4c58fbb80399a99d47a554a67829f90dda (patch)
tree435c9a943cd8df8ad194a4d7c7e72c400b529a64 /fs/d_path.c
parent88e4607034ee49e09e32d91d083dced5c2f4f127 (diff)
downloadlinux-df67cb4c58fbb80399a99d47a554a67829f90dda.tar.xz
fs: d_path: include internal.h
make W=1 warns about a missing prototype that is defined but not visible at point where simple_dname() is defined: fs/d_path.c:317:7: error: no previous prototype for 'simple_dname' [-Werror=missing-prototypes] Signed-off-by: Arnd Bergmann <arnd@arndb.de> Message-Id: <20230516195444.551461-1-arnd@kernel.org> Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'fs/d_path.c')
-rw-r--r--fs/d_path.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/d_path.c b/fs/d_path.c
index 56a6ee4c6331..5f4da5c8d5db 100644
--- a/fs/d_path.c
+++ b/fs/d_path.c
@@ -7,6 +7,7 @@
#include <linux/slab.h>
#include <linux/prefetch.h>
#include "mount.h"
+#include "internal.h"
struct prepend_buffer {
char *buf;