]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
block: Fix blk_start_queueing() to not kick a stopped queue
authorElias Oltmanns <eo@nebensachen.de>
Wed, 1 Oct 2008 14:02:33 +0000 (16:02 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Thu, 9 Oct 2008 06:56:20 +0000 (08:56 +0200)
commit336c3d8ce771608815b65bcfa27a17a83b297328
tree91841449cf24ee051ff1daefcb60a8fbefe2522a
parentc0ddffa84a7d12da9943a94d04dadbfb1883b904
block: Fix blk_start_queueing() to not kick a stopped queue

blk_start_queueing() should act like the generic queue unplugging
and kicking and ignore a stopped queue. Such a queue may not be
run until after a call to blk_start_queue().

Signed-off-by: Elias Oltmanns <eo@nebensachen.de>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/blk-core.c