projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3609819
)
[GFS2] fix typo in locking/dlm
author
David Teigland
<teigland@redhat.com>
Thu, 20 Jul 2006 14:06:34 +0000
(09:06 -0500)
committer
Steven Whitehouse
<swhiteho@redhat.com>
Fri, 21 Jul 2006 05:57:40 +0000
(
01:57
-0400)
Typo causes the error value from the wrong lock to be checked.
Signed-off-by: David Teigland <teigland@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/locking/dlm/lock.c
patch
|
blob
|
history
diff --git
a/fs/gfs2/locking/dlm/lock.c
b/fs/gfs2/locking/dlm/lock.c
index
e74f121
..
f769eac
100644
(file)
--- a/
fs/gfs2/locking/dlm/lock.c
+++ b/
fs/gfs2/locking/dlm/lock.c
@@
-430,7
+430,7
@@
static int hold_null_lock(struct gdlm_lock *lp)
init_completion(&lpn->ast_wait);
gdlm_do_lock(lpn);
wait_for_completion(&lpn->ast_wait);
- error = lp->lksb.sb_status;
+ error = lp
n
->lksb.sb_status;
if (error) {
printk(KERN_INFO "lock_dlm: hold_null_lock dlm error %d\n",
error);