From: Shaohua Li Date: Fri, 16 Dec 2011 13:04:23 +0000 (+0100) Subject: block, cfq: fix empty queue crash caused by request merge X-Git-Tag: v3.2~27^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ae0516b8a50ece5d766be608a305707e0450060;p=pandora-kernel.git block, cfq: fix empty queue crash caused by request merge All requests of a queue could be merged to other requests of other queue. Such queue will not have request in it, but it's in service tree. This will cause kernel oops. I encounter a BUG_ON() in cfq_dispatch_request() with next patch, but the issue should exist without the patch. Signed-off-by: Shaohua Li Signed-off-by: Jens Axboe --- Reading git-diff-tree failed