1*4882a593Smuzhiyun /* SPDX-License-Identifier: GPL-2.0 */ 2*4882a593Smuzhiyun #ifndef _CODA_INT_ 3*4882a593Smuzhiyun #define _CODA_INT_ 4*4882a593Smuzhiyun 5*4882a593Smuzhiyun struct dentry; 6*4882a593Smuzhiyun struct file; 7*4882a593Smuzhiyun 8*4882a593Smuzhiyun extern struct file_system_type coda_fs_type; 9*4882a593Smuzhiyun extern unsigned long coda_timeout; 10*4882a593Smuzhiyun extern int coda_hard; 11*4882a593Smuzhiyun extern int coda_fake_statfs; 12*4882a593Smuzhiyun 13*4882a593Smuzhiyun void coda_destroy_inodecache(void); 14*4882a593Smuzhiyun int __init coda_init_inodecache(void); 15*4882a593Smuzhiyun int coda_fsync(struct file *coda_file, loff_t start, loff_t end, int datasync); 16*4882a593Smuzhiyun 17*4882a593Smuzhiyun #ifdef CONFIG_SYSCTL 18*4882a593Smuzhiyun void coda_sysctl_init(void); 19*4882a593Smuzhiyun void coda_sysctl_clean(void); 20*4882a593Smuzhiyun #else coda_sysctl_init(void)21*4882a593Smuzhiyunstatic inline void coda_sysctl_init(void) 22*4882a593Smuzhiyun { 23*4882a593Smuzhiyun } 24*4882a593Smuzhiyun coda_sysctl_clean(void)25*4882a593Smuzhiyunstatic inline void coda_sysctl_clean(void) 26*4882a593Smuzhiyun { 27*4882a593Smuzhiyun } 28*4882a593Smuzhiyun #endif 29*4882a593Smuzhiyun #endif /* _CODA_INT_ */ 30*4882a593Smuzhiyun 31*4882a593Smuzhiyun 32