162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 262306a36Sopenharmony_ci#ifndef _CODA_INT_ 362306a36Sopenharmony_ci#define _CODA_INT_ 462306a36Sopenharmony_ci 562306a36Sopenharmony_cistruct dentry; 662306a36Sopenharmony_cistruct file; 762306a36Sopenharmony_ci 862306a36Sopenharmony_ciextern struct file_system_type coda_fs_type; 962306a36Sopenharmony_ciextern unsigned long coda_timeout; 1062306a36Sopenharmony_ciextern int coda_hard; 1162306a36Sopenharmony_ciextern int coda_fake_statfs; 1262306a36Sopenharmony_ci 1362306a36Sopenharmony_civoid coda_destroy_inodecache(void); 1462306a36Sopenharmony_ciint __init coda_init_inodecache(void); 1562306a36Sopenharmony_ciint coda_fsync(struct file *coda_file, loff_t start, loff_t end, int datasync); 1662306a36Sopenharmony_ci 1762306a36Sopenharmony_ci#ifdef CONFIG_SYSCTL 1862306a36Sopenharmony_civoid coda_sysctl_init(void); 1962306a36Sopenharmony_civoid coda_sysctl_clean(void); 2062306a36Sopenharmony_ci#else 2162306a36Sopenharmony_cistatic inline void coda_sysctl_init(void) 2262306a36Sopenharmony_ci{ 2362306a36Sopenharmony_ci} 2462306a36Sopenharmony_ci 2562306a36Sopenharmony_cistatic inline void coda_sysctl_clean(void) 2662306a36Sopenharmony_ci{ 2762306a36Sopenharmony_ci} 2862306a36Sopenharmony_ci#endif 2962306a36Sopenharmony_ci#endif /* _CODA_INT_ */ 3062306a36Sopenharmony_ci 3162306a36Sopenharmony_ci 32