blob: f82b59c9dd287b3681101b77043427eede00c63d [file] [log] [blame]
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00001/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef _CODA_INT_
3#define _CODA_INT_
4
5struct dentry;
6struct file;
7
8extern struct file_system_type coda_fs_type;
9extern unsigned long coda_timeout;
10extern int coda_hard;
11extern int coda_fake_statfs;
12
13void coda_destroy_inodecache(void);
14int __init coda_init_inodecache(void);
15int coda_fsync(struct file *coda_file, loff_t start, loff_t end, int datasync);
David Brazdil0f672f62019-12-10 10:32:29 +000016
17#ifdef CONFIG_SYSCTL
Andrew Scullb4b6d4a2019-01-02 15:54:55 +000018void coda_sysctl_init(void);
19void coda_sysctl_clean(void);
David Brazdil0f672f62019-12-10 10:32:29 +000020#else
21static inline void coda_sysctl_init(void)
22{
23}
Andrew Scullb4b6d4a2019-01-02 15:54:55 +000024
David Brazdil0f672f62019-12-10 10:32:29 +000025static inline void coda_sysctl_clean(void)
26{
27}
28#endif
Andrew Scullb4b6d4a2019-01-02 15:54:55 +000029#endif /* _CODA_INT_ */
30
31