summaryrefslogtreecommitdiffstats
path: root/net/sunrpc/netns.h
diff options
context:
space:
mode:
authorPavel Emelyanov <xemul@parallels.com>2010-09-27 12:01:27 +0200
committerJ. Bruce Fields <bfields@redhat.com>2010-09-27 16:16:12 +0200
commit2f72c9b73730c335381b13e2bd221abe1acea394 (patch)
treec8b59e83724b665bfa4d5776ba4f734f32451858 /net/sunrpc/netns.h
parentsunrpc: Tag svc_xprt with net (diff)
downloadlinux-2f72c9b73730c335381b13e2bd221abe1acea394.tar.xz
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