X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=fs%2Fnfsd%2Fstats.c;fp=fs%2Fnfsd%2Fstats.c;h=1cf955bcc526ecd7db7a0be50a58021e0663ac6e;hb=64ba3f394c830ec48a1c31b53dcae312c56f1604;hp=71944cddf680993773475402aced0a8c6892643b;hpb=be1e6109ac94a859551f8e1774eb9a8469fe055c;p=linux-2.6.git diff --git a/fs/nfsd/stats.c b/fs/nfsd/stats.c index 71944cddf..1cf955bcc 100644 --- a/fs/nfsd/stats.c +++ b/fs/nfsd/stats.c @@ -72,16 +72,6 @@ static int nfsd_proc_show(struct seq_file *seq, void *v) /* show my rpc info */ svc_seq_show(seq, &nfsd_svcstats); -#ifdef CONFIG_NFSD_V4 - /* Show count for individual nfsv4 operations */ - /* Writing operation numbers 0 1 2 also for maintaining uniformity */ - seq_printf(seq,"proc4ops %u", LAST_NFS4_OP + 1); - for (i = 0; i <= LAST_NFS4_OP; i++) - seq_printf(seq, " %u", nfsdstats.nfs4_opcount[i]); - - seq_putc(seq, '\n'); -#endif - return 0; } @@ -90,7 +80,7 @@ static int nfsd_proc_open(struct inode *inode, struct file *file) return single_open(file, nfsd_proc_show, NULL); } -static const struct file_operations nfsd_proc_fops = { +static struct file_operations nfsd_proc_fops = { .owner = THIS_MODULE, .open = nfsd_proc_open, .read = seq_read,