]> git.neil.brown.name Git - history.git/commit
[PATCH] blk_insert_request() buglet
authorJens Axboe <axboe@suse.de>
Mon, 8 Mar 2004 00:03:34 +0000 (16:03 -0800)
committerJens Axboe <axboe@suse.de>
Mon, 8 Mar 2004 00:03:34 +0000 (16:03 -0800)
commit524225b77d525f3051271656d560fc95b2b08bea
tree6ab7870e65d90978cdcb384ab78410071c53a00b
parente5e91f8605f860f0c6995f73742735131e0e182f
[PATCH] blk_insert_request() buglet

blk_insert_request() unconditionally calls q->request_fn(q) regardless
of the plug state of the queue. This means that we could invoke
request_fn with a plugged queue, which is an invalid state.

Also fix a Jamesism style in there.
drivers/block/ll_rw_blk.c