diff options
author | David Teigland <teigland@redhat.com> | 2006-07-20 09:06:34 -0500 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2006-07-21 01:57:40 -0400 |
commit | c5921fd02e6c720938141a45f1f9dbd71b17fff2 (patch) | |
tree | 0a9b4e0702e20f5ffe05e9065135c55d757fb394 /fs/gfs2/locking | |
parent | 36098198184b0644537f4b2257d861e9bdf124bd (diff) | |
download | blackbird-obmc-linux-c5921fd02e6c720938141a45f1f9dbd71b17fff2.tar.gz blackbird-obmc-linux-c5921fd02e6c720938141a45f1f9dbd71b17fff2.zip |
[GFS2] fix typo in locking/dlm
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>
Diffstat (limited to 'fs/gfs2/locking')
-rw-r--r-- | fs/gfs2/locking/dlm/lock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/locking/dlm/lock.c b/fs/gfs2/locking/dlm/lock.c index e74f1215672f..f769eac1a34a 100644 --- 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 = lpn->lksb.sb_status; if (error) { printk(KERN_INFO "lock_dlm: hold_null_lock dlm error %d\n", error); |