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