patch-2.1.33 linux/fs/nfs/nfs2xdr.c
Next file: linux/fs/nfsd/stats.c
Previous file: linux/fs/nfs/inode.c
Back to the patch index
Back to the overall index
- Lines: 26
- Date:
Mon Apr 7 18:43:43 1997
- Orig file:
v2.1.32/linux/fs/nfs/nfs2xdr.c
- Orig date:
Mon Apr 7 11:35:30 1997
diff -u --recursive --new-file v2.1.32/linux/fs/nfs/nfs2xdr.c linux/fs/nfs/nfs2xdr.c
@@ -625,25 +625,3 @@
nfs_version,
&nfs_rpcstat,
};
-
-/*
- * RPC stats support
- */
-static int
-nfs_get_info(char *buffer, char **start, off_t offset, int length, int dummy)
-{
- return rpcstat_get_info(&nfs_rpcstat, buffer, start, offset, length);
-}
-
-static struct proc_dir_entry proc_nfsclnt = {
- 0, 3, "nfs",
- S_IFREG | S_IRUGO, 1, 0, 0,
- 6, &proc_net_inode_operations,
- nfs_get_info
-};
-
-struct rpc_stat nfs_rpcstat = {
- NULL, /* next */
- &proc_nfsclnt, /* /proc/net directory entry */
- &nfs_program, /* RPC program */
-};
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov