Skip to content

Commit

Permalink
[DLM] fix userland unlock
Browse files Browse the repository at this point in the history
This patch fixes the userland DLM unlock code so that it correctly returns the
address of the userland lock status block in its completion AST.

It fixes bug #201348

Patrick

Signed-Off-By: Patrick Caulfield <pcaulfie@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
  • Loading branch information
Patrick Caulfield authored and Steven Whitehouse committed Aug 8, 2006
1 parent 2b557f6 commit cc346d5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fs/dlm/lock.c
Original file line number Diff line number Diff line change
Expand Up @@ -3699,6 +3699,7 @@ int dlm_user_unlock(struct dlm_ls *ls, struct dlm_user_args *ua_tmp,
if (lvb_in && ua->lksb.sb_lvbptr)
memcpy(ua->lksb.sb_lvbptr, lvb_in, DLM_USER_LVB_LEN);
ua->castparam = ua_tmp->castparam;
ua->user_lksb = ua_tmp->user_lksb;

error = set_unlock_args(flags, ua, &args);
if (error)
Expand Down

0 comments on commit cc346d5

Please sign in to comment.