sunrpc: Make the /proc/net/rpc appear in net namespaces

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
This commit is contained in:
Pavel Emelyanov
2010-09-27 14:01:58 +04:00
committed by J. Bruce Fields
parent 2f72c9b737
commit 4f42d0d53c
5 changed files with 59 additions and 35 deletions

View File

@@ -5,6 +5,7 @@
#include <net/netns/generic.h>
struct sunrpc_net {
struct proc_dir_entry *proc_net_rpc;
};
extern int sunrpc_net_id;