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) <[email protected]> --- Cc: Jan Harkes <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] --- 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
