]> git.neil.brown.name Git - history.git/commit
[PATCH] setup queue before elevator_init()
authorJens Axboe <axboe@suse.de>
Thu, 12 Aug 2004 02:27:27 +0000 (19:27 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 12 Aug 2004 02:27:27 +0000 (19:27 -0700)
commit43d15eb29e755daa70650c91969ba176300b2099
treeeabfec3f160eeb08008a9bb590523dba84cf1200
parentda58de4bc4757780df70c71195ced7f4611102ca
[PATCH] setup queue before elevator_init()

We must setup the queue before calling elevator_init(), otherwise the
elevator cannot use the queue members. This really hurts cfq since it
checks ->nr_requests, which is zero at that time.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/block/ll_rw_blk.c