]> git.hungrycats.org Git - linux/commit
[PATCH] Fix blk_stop_queue bug
authorJens Axboe <axboe@suse.de>
Tue, 9 Sep 2003 03:15:58 +0000 (20:15 -0700)
committerLinus Torvalds <torvalds@home.osdl.org>
Tue, 9 Sep 2003 03:15:58 +0000 (20:15 -0700)
commit6431d73097db52ed7647dc0720cfdb593221b800
tree608d7feecf59b497c934ca63532ec337ef9598fb
parent26fdde3addfc91036086003d1be9678ba33ab7ad
[PATCH] Fix blk_stop_queue bug

Benh saw some bugs where the queue would end up being in an invalid
state, and this could certainly explain one of them. We must not have a
stopped queue on the plug list, and blk_plug_device() right now will
happily plug a stopped queue.

We don't need to have it plugged either, blk_start_queue() will make
sure that request_fn gets run.
drivers/block/ll_rw_blk.c