mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
[GFS2] fix typo in locking/dlm
Typo causes the error value from the wrong lock to be checked. Signed-off-by: David Teigland <[email protected]> Signed-off-by: Steven Whitehouse <[email protected]>
This commit is contained in:
parent
3609819818
commit
c5921fd02e
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue