summaryrefslogtreecommitdiffstats
path: root/net/sunrpc/clnt.c
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2006-10-18 22:01:05 +0200
committerTrond Myklebust <Trond.Myklebust@netapp.com>2006-12-06 16:46:29 +0100
commitbbd5a1f9fc9fad0f8725812d91c51b052e847de8 (patch)
tree252650d49dd498a67c404b7c4c1abeb2dc341624 /net/sunrpc/clnt.c
parentSUNRPC: Give cloned RPC clients their own rpc_pipefs directory (diff)
downloadlinux-bbd5a1f9fc9fad0f8725812d91c51b052e847de8.tar.xz
linux-bbd5a1f9fc9fad0f8725812d91c51b052e847de8.zip
SUNRPC: Fix up missing BKL in asynchronous RPC callback functions
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net/sunrpc/clnt.c')
-rw-r--r--net/sunrpc/clnt.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/sunrpc/clnt.c b/net/sunrpc/clnt.c
index 8b78177e7575..37d345c04aa5 100644
--- a/net/sunrpc/clnt.c
+++ b/net/sunrpc/clnt.c
@@ -541,8 +541,7 @@ rpc_call_async(struct rpc_clnt *clnt, struct rpc_message *msg, int flags,
rpc_restore_sigmask(&oldset);
return status;
out_release:
- if (tk_ops->rpc_release != NULL)
- tk_ops->rpc_release(data);
+ rpc_release_calldata(tk_ops, data);
return status;
}