hc
2024-05-11 645e752c5a84baeb21015cdc85fc05b7d16312c8
kernel/fs/nfsd/stats.c
....@@ -84,17 +84,17 @@
8484 return single_open(file, nfsd_proc_show, NULL);
8585 }
8686
87
-static const struct file_operations nfsd_proc_fops = {
88
- .open = nfsd_proc_open,
89
- .read = seq_read,
90
- .llseek = seq_lseek,
91
- .release = single_release,
87
+static const struct proc_ops nfsd_proc_ops = {
88
+ .proc_open = nfsd_proc_open,
89
+ .proc_read = seq_read,
90
+ .proc_lseek = seq_lseek,
91
+ .proc_release = single_release,
9292 };
9393
9494 void
9595 nfsd_stat_init(void)
9696 {
97
- svc_proc_register(&init_net, &nfsd_svcstats, &nfsd_proc_fops);
97
+ svc_proc_register(&init_net, &nfsd_svcstats, &nfsd_proc_ops);
9898 }
9999
100100 void