Skip to contentSkip to conversation

d_path: include internal.h

PATCH New Ben Dooks 1 participant 1 message Jun 16, 2023 VFS

lore
Share & tools
lore

Ben Dooks

author
#0 lore raw

PATCH 1/1 d_path: include internal.h

Include internal.h to get the definition of simple_dname, to fix the following sparse warning:

fs/d_path.c:317:6: warning: symbol 'simple_dname' was not declared. Should it be static?

---
 fs/d_path.c | 1 +
 1 file changed, 1 insertion(+)
fs/d_path.c +1 -0
index 56a6ee4c6331..5f4da5c8d5db 100644
@@ -7,6 +7,7 @@
 #include <linux/slab.h>
 #include <linux/prefetch.h>
 #include "mount.h"
+#include "internal.h"
 
 struct prepend_buffer {
 	char *buf;
Signature · 1 line
2.39.2