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