Skip to contentSkip to conversation

fix build problems in nfs w/o proc_fs on 2.6.0-test5

PATCH New Stephen Hemminger 1 participant 1 message Sep 12, 2003

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix build problems in nfs w/o proc_fs on 2.6.0-test5

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 +4 -3
diff -Nru a/include/linux/sunrpc/stats.h b/include/linux/sunrpc/stats.h
@@ -64,11 +64,12 @@
 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
 

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs