mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
xen/blkback: fix xenbus_transaction_start() hang caused by double xenbus_transaction_end()
vbd_resize() up_read()'s xs_state.suspend_mutex twice in a row via double xenbus_transaction_end() calls. The next down_read() in xenbus_transaction_start() (at eg. the next resize attempt) hangs. Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=618317 Acked-by: Jan Beulich <[email protected]> Acked-by: Ian Campbell <[email protected]> Signed-off-by: Laszlo Ersek <[email protected]> Signed-off-by: Konrad Rzeszutek Wilk <[email protected]>
This commit is contained in:
parent
5185432277
commit
496b318eb6
1 changed files with 1 additions and 0 deletions
|
|
@ -226,6 +226,7 @@ again:
|
|||
goto again;
|
||||
if (err)
|
||||
pr_warn(DRV_PFX "Error ending transaction");
|
||||
return;
|
||||
abort:
|
||||
xenbus_transaction_end(xbt, 1);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue