summaryrefslogtreecommitdiffstats
path: root/fs/coda/coda_int.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/coda/coda_int.h')
-rw-r--r--fs/coda/coda_int.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/fs/coda/coda_int.h b/fs/coda/coda_int.h
new file mode 100644
index 000000000..f82b59c9d
--- /dev/null
+++ b/fs/coda/coda_int.h
@@ -0,0 +1,31 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#ifndef _CODA_INT_
+#define _CODA_INT_
+
+struct dentry;
+struct file;
+
+extern struct file_system_type coda_fs_type;
+extern unsigned long coda_timeout;
+extern int coda_hard;
+extern int coda_fake_statfs;
+
+void coda_destroy_inodecache(void);
+int __init coda_init_inodecache(void);
+int coda_fsync(struct file *coda_file, loff_t start, loff_t end, int datasync);
+
+#ifdef CONFIG_SYSCTL
+void coda_sysctl_init(void);
+void coda_sysctl_clean(void);
+#else
+static inline void coda_sysctl_init(void)
+{
+}
+
+static inline void coda_sysctl_clean(void)
+{
+}
+#endif
+#endif /* _CODA_INT_ */
+
+