From 67afcb4ff2d8307b953446f50d75baf029e2aa7a Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Wed, 18 Feb 2004 04:50:55 -0800 Subject: [PATCH] kNFSd:fix build problems in nfs w/o proc_fs on 2.6.0-test5 From: NeilBrown From: Stephen Hemminger Date: Fri, 12 Sep 2003 11:31:06 -0700 NFS won't build w/o CONFIG_PROC_FS. Looks like typo's (or a C++ programmer) in stats.h --- include/linux/sunrpc/stats.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'include/linux/sunrpc') diff --git a/include/linux/sunrpc/stats.h b/include/linux/sunrpc/stats.h index 6fa9781a67b0..0d6ed3c8bdc4 100644 --- a/include/linux/sunrpc/stats.h +++ b/include/linux/sunrpc/stats.h @@ -64,11 +64,12 @@ static inline struct proc_dir_entry *rpc_proc_register(struct rpc_stat *s) { ret static inline void rpc_proc_unregister(const char *p) {} static inline void rpc_proc_zero(struct rpc_program *p) {} -static inline struct proc_dir_entry *svc_proc_register(struct svc_stat *s - struct file_operations *) { return NULL; } +static inline struct proc_dir_entry *svc_proc_register(struct svc_stat *s, + struct file_operations *f) { return NULL; } static inline void svc_proc_unregister(const char *p) {} -static inline void svc_seq_show(struct seq_file *, const struct svc_stat *) {} +static inline void svc_seq_show(struct seq_file *seq, + const struct svc_stat *st) {} #define proc_net_rpc NULL -- cgit v1.2.3