projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8e1aab
)
[DLM] preserve lksb address in user conversions
author
Patrick Caulfield
<pcaulfie@redhat.com>
Wed, 23 Aug 2006 08:49:31 +0000
(09:49 +0100)
committer
Steven Whitehouse
<swhiteho@redhat.com>
Wed, 23 Aug 2006 13:55:40 +0000
(09:55 -0400)
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>
fs/dlm/lock.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/dlm/lock.c
b/fs/dlm/lock.c
index 712438513cc43d5aaca03dfb0e0b6cd6456f61f2..7ffbe8090de0382a22b91c8ed7f47bfdaca72bab 100644
(file)
--- 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,
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,