Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Arnd Bergmann and committed by
Christian Brauner
df67cb4c 88e46070

+1
+1
fs/d_path.c
··· 7 7 #include <linux/slab.h> 8 8 #include <linux/prefetch.h> 9 9 #include "mount.h" 10 + #include "internal.h" 10 11 11 12 struct prepend_buffer { 12 13 char *buf;