summaryrefslogtreecommitdiffstats
path: root/net/sunrpc
diff options
context:
space:
mode:
authorNeilBrown2005-06-24 07:03:15 +0200
committerLinus Torvalds2005-06-24 09:06:30 +0200
commit5ba266d6323e957588712f6a7d31252cd6b797bb (patch)
treea66e7e0fbc99f67c93e7661e83a02e08e2868050 /net/sunrpc
parent[PATCH] knfsd: nfs4: hold filp while reading or writing (diff)
downloadkernel-qcow2-linux-5ba266d6323e957588712f6a7d31252cd6b797bb.tar.gz
kernel-qcow2-linux-5ba266d6323e957588712f6a7d31252cd6b797bb.tar.xz
kernel-qcow2-linux-5ba266d6323e957588712f6a7d31252cd6b797bb.zip
[PATCH] knfsd: nfsd4: fix probe_callback
rpc_create_client was modified recently to do its own (synchronous) NULL ping of the server. We'd rather do that on our own, asynchronously, so that we don't have to block the nfsd thread doing the probe, and so that setclientid handling (hence, client mounts) can proceed normally whether the callback is succesful or not. (We can still function fine without the callback channel--we just won't be able to give out delegations till it's verified to work.) Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu> Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'net/sunrpc')
-rw-r--r--net/sunrpc/sunrpc_syms.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/sunrpc/sunrpc_syms.c b/net/sunrpc/sunrpc_syms.c
index 32e8acbc60fe..62a073495276 100644
--- a/net/sunrpc/sunrpc_syms.c
+++ b/net/sunrpc/sunrpc_syms.c
@@ -41,6 +41,7 @@ EXPORT_SYMBOL(rpc_release_task);
/* RPC client functions */
EXPORT_SYMBOL(rpc_create_client);
+EXPORT_SYMBOL(rpc_new_client);
EXPORT_SYMBOL(rpc_clone_client);
EXPORT_SYMBOL(rpc_bind_new_program);
EXPORT_SYMBOL(rpc_destroy_client);