Skip to content

Commit

Permalink
[DLM] preserve lksb address in user conversions
Browse files Browse the repository at this point in the history
This patch fixes bz#203444 where the LKSB was lost during userland conversion
operations

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 23, 2006
1 parent b8e1aab commit 10948eb
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 @@ -3683,6 +3683,7 @@ int dlm_user_convert(struct dlm_ls *ls, struct dlm_user_args *ua_tmp,
ua->castaddr = ua_tmp->castaddr;
ua->bastparam = ua_tmp->bastparam;
ua->bastaddr = ua_tmp->bastaddr;
ua->user_lksb = ua_tmp->user_lksb;
ua->old_mode = lkb->lkb_grmode;

error = set_lock_args(mode, &ua->lksb, flags, 0, 0, FAKE_USER_AST, ua,
Expand Down

0 comments on commit 10948eb

Please sign in to comment.