summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2004-02-18 04:50:55 -0800
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-02-18 04:50:55 -0800
commit67afcb4ff2d8307b953446f50d75baf029e2aa7a (patch)
tree24b620aaf9e76f58330acf84edd4ad9a56cf5258 /include
parent2a0807bd546bdaeea6d8c50703540c51c81f9a2a (diff)
[PATCH] kNFSd:fix build problems in nfs w/o proc_fs on 2.6.0-test5
From: NeilBrown <neilb@cse.unsw.edu.au> From: Stephen Hemminger <shemminger@osdl.org> 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
Diffstat (limited to 'include')
-rw-r--r--include/linux/sunrpc/stats.h7
1 files changed, 4 insertions, 3 deletions
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