]> xenbits.xensource.com Git - legacy/linux-2.6.18-xen.git/commit
xenbus: fix xenbus_transaction_start() hang caused by double xenbus_transaction_end()
authorLaszlo Ersek <lersek@redhat.com>
Mon, 16 May 2011 12:26:45 +0000 (13:26 +0100)
committerLaszlo Ersek <lersek@redhat.com>
Mon, 16 May 2011 12:26:45 +0000 (13:26 +0100)
commitaed3bdd642c2f05e557025cce7e1f329bff777fc
tree9fa1724a777266f0444f8c87c9efeb9871832647
parenta47fb6b9ad382ae572740bb90908bb01b70f5f9b
xenbus: 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.

See RHBZ#618317.

Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Acked-by: Jan Beulich <jbeulich@novell.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
drivers/xen/blkback/vbd.c