]> git.hungrycats.org Git - linux/commit
[PATCH] Fix noop elevator request merging
authorJens Axboe <axboe@suse.de>
Mon, 8 Sep 2003 04:09:12 +0000 (21:09 -0700)
committerLinus Torvalds <torvalds@home.osdl.org>
Mon, 8 Sep 2003 04:09:12 +0000 (21:09 -0700)
commitaea654209741a990bc5c7810daff06ec8c2f7e04
treed2cd93ddf4a02cd90c3da7727f9206648ebc5026
parent4a4bb3d1a8c1abf3fe3cc826f2b525b4c3ed08dd
[PATCH] Fix noop elevator request merging

From: Oleg Drokin <green@namesys.com>

Without this, if elv_try_last_merge() returns nonzero, we do not
initialise *req.  That results in a subsequent BUG_ON() in
__make_request() because req is NULL (or is just uninitialised).
drivers/block/noop-iosched.c