aboutsummaryrefslogtreecommitdiffstats
path: root/fs/dlm/lock.c
diff options
context:
space:
mode:
authorPatrick Caulfield <pcaulfie@redhat.com>2006-08-08 10:34:40 -0400
committerSteven Whitehouse <swhiteho@redhat.com>2006-08-08 10:34:40 -0400
commitcc346d555f2c3eb4a63b2df6bf9c9947f0a92a01 (patch)
tree9d1435929cedb6a7a4c5571dc6e40bdf0758dc62 /fs/dlm/lock.c
parent2b557f6dc7899a0f6afc0169534346f8fa977a46 (diff)
[DLM] fix userland unlock
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>
Diffstat (limited to 'fs/dlm/lock.c')
-rw-r--r--fs/dlm/lock.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/dlm/lock.c b/fs/dlm/lock.c
index 7d38f914c5b9..bb2e35151210 100644
--- a/fs/dlm/lock.c
+++ b/fs/dlm/lock.c
@@ -3699,6 +3699,7 @@ int dlm_user_unlock(struct dlm_ls *ls, struct dlm_user_args *ua_tmp,
3699 if (lvb_in && ua->lksb.sb_lvbptr) 3699 if (lvb_in && ua->lksb.sb_lvbptr)
3700 memcpy(ua->lksb.sb_lvbptr, lvb_in, DLM_USER_LVB_LEN); 3700 memcpy(ua->lksb.sb_lvbptr, lvb_in, DLM_USER_LVB_LEN);
3701 ua->castparam = ua_tmp->castparam; 3701 ua->castparam = ua_tmp->castparam;
3702 ua->user_lksb = ua_tmp->user_lksb;
3702 3703
3703 error = set_unlock_args(flags, ua, &args); 3704 error = set_unlock_args(flags, ua, &args);
3704 if (error) 3705 if (error)