[PATCH] coda: include coda_int.h for 'coda_fake_statfs' declaration

From: Ben Dooks (Codethink)
Date: Tue Oct 22 2019 - 09:20:04 EST


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@xxxxxxxxxxxxxxx>
---
Cc: Jan Harkes <jaharkes@xxxxxxxxxx>
Cc: coda@xxxxxxxxxx
Cc: codalist@xxxxxxxxxxxxxxx
Cc: linux-kernel@xxxxxxxxxxxxxxx
---
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