| * Sysctl operations for Coda filesystem |
| * Original version: (C) 1996 P. Braam and M. Callahan |
| * Rewritten for Linux 2.1. (C) 1997 Carnegie Mellon University |
| * Carnegie Mellon encourages users to contribute improvements to |
| * the Coda project. Contact Peter Braam (coda@cs.cmu.edu). |
| #include <linux/sysctl.h> |
| static struct ctl_table_header *fs_table_header; |
| static ctl_table coda_table[] = { |
| .proc_handler = proc_dointvec |
| .proc_handler = proc_dointvec |
| .procname = "fake_statfs", |
| .data = &coda_fake_statfs, |
| .proc_handler = proc_dointvec |
| static ctl_table fs_table[] = { |
| void coda_sysctl_init(void) |
| fs_table_header = register_sysctl_table(fs_table); |
| void coda_sysctl_clean(void) |
| unregister_sysctl_table(fs_table_header); |