Commit 6041b791 authored by Trond Myklebust's avatar Trond Myklebust

lockd: Fix a typo in nlmsvc_grant_release()

Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent d4716624
...@@ -638,7 +638,9 @@ static void nlmsvc_grant_callback(struct rpc_task *task, void *data) ...@@ -638,7 +638,9 @@ static void nlmsvc_grant_callback(struct rpc_task *task, void *data)
void nlmsvc_grant_release(void *data) void nlmsvc_grant_release(void *data)
{ {
nlmsvc_release_block(data); struct nlm_rqst *call = data;
nlmsvc_release_block(call->a_block);
} }
static const struct rpc_call_ops nlmsvc_grant_ops = { static const struct rpc_call_ops nlmsvc_grant_ops = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment