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

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