CIFS: Remove extra mutex_unlock in cifs_lock_add_if
to prevent the mutex being unlocked twice if we interrupt a blocked lock. Signed-off-by: Pavel Shilovsky <piastry@etersoft.ru> Signed-off-by: Steve French <smfrench@gmail.com>
This commit is contained in:
parent
f362f98e7c
commit
d12799b4c3
|
@ -778,7 +778,6 @@ try_again:
|
||||||
else {
|
else {
|
||||||
mutex_lock(&cinode->lock_mutex);
|
mutex_lock(&cinode->lock_mutex);
|
||||||
list_del_init(&lock->blist);
|
list_del_init(&lock->blist);
|
||||||
mutex_unlock(&cinode->lock_mutex);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue