linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] coda: include coda_int.h for 'coda_fake_statfs' declaration
@ 2019-10-22 13:19 Ben Dooks (Codethink)
  0 siblings, 0 replies; only message in thread
From: Ben Dooks (Codethink) @ 2019-10-22 13:19 UTC (permalink / raw)
  To: linux-kernel
  Cc: Ben Dooks (Codethink), Jan Harkes, coda, codalist, linux-kernel

The coda_fake_statfs is declared in coda_int.h, so include
this in coda_linux.c where it is defined. This removes the
following sparse warning:

fs/coda/coda_linux.c:25:5: warning: symbol 'coda_fake_statfs' was not declared. Should it be static?

Signed-off-by: Ben Dooks (Codethink) <ben.dooks@codethink.co.uk>
---
Cc: Jan Harkes <jaharkes@cs.cmu.edu>
Cc: coda@cs.cmu.edu
Cc: codalist@coda.cs.cmu.edu
Cc: linux-kernel@vger.kernel.org
---
 fs/coda/coda_linux.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/fs/coda/coda_linux.c b/fs/coda/coda_linux.c
index 2e1a5a192074..229f7a0949ab 100644
--- a/fs/coda/coda_linux.c
+++ b/fs/coda/coda_linux.c
@@ -20,6 +20,7 @@
 #include <linux/coda.h>
 #include "coda_psdev.h"
 #include "coda_linux.h"
+#include "coda_int.h"
 
 /* initialize the debugging variables */
 int coda_fake_statfs;
-- 
2.23.0


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2019-10-22 13:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-22 13:19 [PATCH] coda: include coda_int.h for 'coda_fake_statfs' declaration Ben Dooks (Codethink)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).