diff options
author | Patrick Caulfield <pcaulfie@redhat.com> | 2006-08-23 04:49:31 -0400 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2006-08-23 09:55:40 -0400 |
commit | 10948eb4eddea6750a3b27f77bec423d844e6726 (patch) | |
tree | fd2546f577aa20562b1a6f7f7e1769a7eb6fb481 /fs/dlm | |
parent | b8e1aabf218a2037d9d6a3256c33fc6ef96ac44c (diff) |
[DLM] preserve lksb address in user conversions
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>
Diffstat (limited to 'fs/dlm')
-rw-r--r-- | fs/dlm/lock.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/dlm/lock.c b/fs/dlm/lock.c index 712438513cc4..7ffbe8090de0 100644 --- a/fs/dlm/lock.c +++ b/fs/dlm/lock.c | |||
@@ -3683,6 +3683,7 @@ int dlm_user_convert(struct dlm_ls *ls, struct dlm_user_args *ua_tmp, | |||
3683 | ua->castaddr = ua_tmp->castaddr; | 3683 | ua->castaddr = ua_tmp->castaddr; |
3684 | ua->bastparam = ua_tmp->bastparam; | 3684 | ua->bastparam = ua_tmp->bastparam; |
3685 | ua->bastaddr = ua_tmp->bastaddr; | 3685 | ua->bastaddr = ua_tmp->bastaddr; |
3686 | ua->user_lksb = ua_tmp->user_lksb; | ||
3686 | ua->old_mode = lkb->lkb_grmode; | 3687 | ua->old_mode = lkb->lkb_grmode; |
3687 | 3688 | ||
3688 | error = set_lock_args(mode, &ua->lksb, flags, 0, 0, FAKE_USER_AST, ua, | 3689 | error = set_lock_args(mode, &ua->lksb, flags, 0, 0, FAKE_USER_AST, ua, |