Skip to contentSkip to conversation

coda: include coda_int.h for 'coda_fake_statfs' declaration

PATCH New Ben Dooks (Codethink) 1 participant 1 message Oct 22, 2019 Coda file system

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 coda: include coda_int.h for 'coda_fake_statfs' declaration

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?

---
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(+)
fs/coda/coda_linux.c +1 -0
index 2e1a5a192074..229f7a0949ab 100644
@@ -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;
Signature · 1 line
2.23.0