[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20230616164627.66340-1-ben.dooks@codethink.co.uk>
Date: Fri, 16 Jun 2023 17:46:27 +0100
From: Ben Dooks <ben.dooks@...ethink.co.uk>
To: linux-fsdevel@...r.kernel.org, viro@...iv.linux.org.uk,
brauner@...nel.org
Cc: linux-kernel@...r.kernel.org, Ben Dooks <ben.dooks@...ethink.co.uk>
Subject: [PATCH] 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?
Signed-off-by: Ben Dooks <ben.dooks@...ethink.co.uk>
---
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
Powered by blists - more mailing lists