summaryrefslogtreecommitdiff
path: root/net/sunrpc/xprtsock.c
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2006-12-06 00:35:51 +0300
committerTrond Myklebust <Trond.Myklebust@netapp.com>2006-12-06 18:46:53 +0300
commit282b32e17f64be2204f1ac96d7f40f92cb768cd7 (patch)
tree0a82058abdb8fad356e9eb3b70e99b8c58c3261d /net/sunrpc/xprtsock.c
parentdd4564715eae2c4136f278da9ae1c3bb5af3e509 (diff)
downloadlinux-282b32e17f64be2204f1ac96d7f40f92cb768cd7.tar.xz
SUNRPC: create stubs for xprtsock init and cleanup
Over time we will want to add some specific init and cleanup logic for the xprtsock implementation. Add stub routines for initialization and exit processing. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net/sunrpc/xprtsock.c')
-rw-r--r--net/sunrpc/xprtsock.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/net/sunrpc/xprtsock.c b/net/sunrpc/xprtsock.c
index ad61b3e9123b..70131c36f371 100644
--- a/net/sunrpc/xprtsock.c
+++ b/net/sunrpc/xprtsock.c
@@ -1502,3 +1502,21 @@ struct rpc_xprt *xs_setup_tcp(struct sockaddr *addr, size_t addrlen, struct rpc_
return xprt;
}
+
+/**
+ * init_socket_xprt - stub
+ *
+ */
+int init_socket_xprt(void)
+{
+ return 0;
+}
+
+/**
+ * cleanup_socket_xprt - stub
+ *
+ */
+void cleanup_socket_xprt(void)
+{
+ return;
+}