[PATCH 1/2] fs: d_path: include internal.h

From: Arnd Bergmann
Date: Tue May 16 2023 - 15:54:57 EST


From: Arnd Bergmann <arnd@xxxxxxxx>

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@xxxxxxxx>
---
fs/d_path.c | 1 +
1 file changed, 1 insertion(+)

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;
--
2.39.2