aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/locking
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2006-07-20 10:06:34 -0400
committerSteven Whitehouse <swhiteho@redhat.com>2006-07-21 01:57:40 -0400
commitc5921fd02e6c720938141a45f1f9dbd71b17fff2 (patch)
tree0a9b4e0702e20f5ffe05e9065135c55d757fb394 /fs/gfs2/locking
parent36098198184b0644537f4b2257d861e9bdf124bd (diff)
[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.c2
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)
430 init_completion(&lpn->ast_wait); 430 init_completion(&lpn->ast_wait);
431 gdlm_do_lock(lpn); 431 gdlm_do_lock(lpn);
432 wait_for_completion(&lpn->ast_wait); 432 wait_for_completion(&lpn->ast_wait);
433 error = lp->lksb.sb_status; 433 error = lpn->lksb.sb_status;
434 if (error) { 434 if (error) {
435 printk(KERN_INFO "lock_dlm: hold_null_lock dlm error %d\n", 435 printk(KERN_INFO "lock_dlm: hold_null_lock dlm error %d\n",
436 error); 436 error);