SUNRPC: Fix up missing BKL in asynchronous RPC callback functions

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
This commit is contained in:
Trond Myklebust
2006-10-18 16:01:05 -04:00
parent 3e32a5d99a
commit bbd5a1f9fc
3 changed files with 13 additions and 6 deletions

View File

@@ -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;
}