fs: d_path: include internal.h
authorArnd Bergmann <arnd@arndb.de>
Tue, 16 May 2023 19:54:38 +0000 (21:54 +0200)
committerChristian Brauner <brauner@kernel.org>
Wed, 17 May 2023 07:16:59 +0000 (09:16 +0200)
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>
fs/d_path.c

index 56a6ee4..5f4da5c 100644 (file)
@@ -7,6 +7,7 @@
 #include <linux/slab.h>
 #include <linux/prefetch.h>
 #include "mount.h"
+#include "internal.h"
 
 struct prepend_buffer {
        char *buf;