Skip to content

Commit

Permalink
[GFS2] fix typo in locking/dlm
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
David Teigland authored and Steven Whitehouse committed Jul 21, 2006
1 parent 3609819 commit c5921fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/gfs2/locking/dlm/lock.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit c5921fd

Please sign in to comment.