Commit 67afcb4f authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[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
parent 2a0807bd
...@@ -64,11 +64,12 @@ static inline struct proc_dir_entry *rpc_proc_register(struct rpc_stat *s) { ret ...@@ -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_unregister(const char *p) {}
static inline void rpc_proc_zero(struct rpc_program *p) {} static inline void rpc_proc_zero(struct rpc_program *p) {}
static inline struct proc_dir_entry *svc_proc_register(struct svc_stat *s static inline struct proc_dir_entry *svc_proc_register(struct svc_stat *s,
struct file_operations *) { return NULL; } struct file_operations *f) { return NULL; }
static inline void svc_proc_unregister(const char *p) {} 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 #define proc_net_rpc NULL
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment