bsg: fix the deadlock on discarding done commands
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Thu, 7 Jun 2007 11:24:06 +0000 (13:24 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Mon, 16 Jul 2007 06:52:46 +0000 (08:52 +0200)
commitefba1a31f3f8fe9672eb96cd26e97fb96891f1c0
tree052f4c58f618ef73cd2542425f618ac9b78410e7
parente7d72173248c29c6f9ba14e40374266e1b954964
bsg: fix the deadlock on discarding done commands

The previous commit introduced a deadlock in discarding commands,
because we forget to unlock the bd spinlock.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/bsg.c