patch-2.1.79 linux/fs/nfsd/stats.c
Next file: linux/fs/nfsd/vfs.c
Previous file: linux/fs/nfsd/nfsproc.c
Back to the patch index
Back to the overall index
- Lines: 14
- Date:
Mon Jan 12 14:39:48 1998
- Orig file:
v2.1.78/linux/fs/nfsd/stats.c
- Orig date:
Sat Nov 29 11:25:12 1997
diff -u --recursive --new-file v2.1.78/linux/fs/nfsd/stats.c linux/fs/nfsd/stats.c
@@ -75,8 +75,12 @@
{
struct proc_dir_entry *ent;
- if ((ent = svc_proc_register(&nfsd_svcstats)) != 0)
+ if ((ent = svc_proc_register(&nfsd_svcstats)) != 0) {
ent->read_proc = nfsd_proc_read;
+#ifdef MODULE
+ ent->fill_inode = nfsd_modcount;
+#endif
+ }
}
void
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov