patch-2.3.27 linux/fs/coda/sysctl.c
Next file: linux/fs/exec.c
Previous file: linux/fs/buffer.c
Back to the patch index
Back to the overall index
- Lines: 25
- Date:
Thu Nov 11 16:57:31 1999
- Orig file:
v2.3.26/linux/fs/coda/sysctl.c
- Orig date:
Mon Nov 1 13:56:27 1999
diff -u --recursive --new-file v2.3.26/linux/fs/coda/sysctl.c linux/fs/coda/sysctl.c
@@ -478,15 +478,6 @@
struct proc_dir_entry* proc_fs_coda;
-static void coda_proc_modcount(struct inode *inode, int fill)
-{
- if (fill)
- MOD_INC_USE_COUNT;
- else
- MOD_DEC_USE_COUNT;
-
-}
-
#endif
#define coda_proc_create(name,get_info) \
@@ -502,7 +493,7 @@
#ifdef CONFIG_PROC_FS
proc_fs_coda = create_proc_entry("coda", S_IFDIR, proc_root_fs);
- proc_fs_coda->fill_inode = &coda_proc_modcount;
+ proc_fs_coda->owner = THIS_MODULE;
coda_proc_create("vfs_stats", coda_vfs_stats_get_info);
coda_proc_create("upcall_stats", coda_upcall_stats_get_info);
coda_proc_create("permission_stats", coda_permission_stats_get_info);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)