aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/sunrpc/netns.h
diff options
context:
space:
mode:
authorPavel Emelyanov <xemul@parallels.com>2010-09-27 14:01:27 +0400
committerJ. Bruce Fields <bfields@redhat.com>2010-09-27 10:16:12 -0400
commit2f72c9b73730c335381b13e2bd221abe1acea394 (patch)
treec8b59e83724b665bfa4d5776ba4f734f32451858 /net/sunrpc/netns.h
parentsunrpc: Tag svc_xprt with net (diff)
downloadwireguard-linux-2f72c9b73730c335381b13e2bd221abe1acea394.tar.xz
wireguard-linux-2f72c9b73730c335381b13e2bd221abe1acea394.zip
sunrpc: The per-net skeleton
Register empty per-net operations for the sunrpc layer. Signed-off-by: Pavel Emelyanov <xemul@openvz.org> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'net/sunrpc/netns.h')
-rw-r--r--net/sunrpc/netns.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/net/sunrpc/netns.h b/net/sunrpc/netns.h
new file mode 100644
index 000000000000..b2d18af2815e
--- /dev/null
+++ b/net/sunrpc/netns.h
@@ -0,0 +1,12 @@
+#ifndef __SUNRPC_NETNS_H__
+#define __SUNRPC_NETNS_H__
+
+#include <net/net_namespace.h>
+#include <net/netns/generic.h>
+
+struct sunrpc_net {
+};
+
+extern int sunrpc_net_id;
+
+#endif