coda_int.h 611 B

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