d_path: include internal.h for simple_dname
PATCH 1/1 d_path: include internal.h for simple_dname
Include internal.h in d_path.c for the definition of simple_dname to fix the following sparse warning:
fs/d_path.c:311:6: warning: symbol 'simple_dname' was not declared. Should it be static?
Signed-off-by Ben Dooks <[email protected]>
---
Cc: Alexander Viro <[email protected]>
Cc: [email protected]
Cc: [email protected]
--- fs/d_path.c | 1 + 1 file changed, 1 insertion(+)
fs/d_path.c +1 -0
@@ -7,6 +7,7 @@#include <linux/slab.h> #include <linux/prefetch.h> #include "mount.h" +#include "internal.h" static int prepend (char **buffer,int *buflen,const char *str,int namelen) {
Signature · 1 line
2.23.0