diff options
-rw-r--r-- | fs/lockd/svclock.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/lockd/svclock.c b/fs/lockd/svclock.c index 185bf7ea1c0c..c16c94f5a856 100644 --- a/fs/lockd/svclock.c +++ b/fs/lockd/svclock.c | |||
@@ -638,7 +638,9 @@ static void nlmsvc_grant_callback(struct rpc_task *task, void *data) | |||
638 | 638 | ||
639 | void nlmsvc_grant_release(void *data) | 639 | void nlmsvc_grant_release(void *data) |
640 | { | 640 | { |
641 | nlmsvc_release_block(data); | 641 | struct nlm_rqst *call = data; |
642 | |||
643 | nlmsvc_release_block(call->a_block); | ||
642 | } | 644 | } |
643 | 645 | ||
644 | static const struct rpc_call_ops nlmsvc_grant_ops = { | 646 | static const struct rpc_call_ops nlmsvc_grant_ops = { |