From: Mike Christie Date: Wed, 18 Sep 2013 14:33:55 +0000 (-0600) Subject: If the queue is dying then we only call the rq->end_io callout. X-Git-Tag: v3.12-rc2~4^2~2 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7652113c2f508b1c8176640dcd034730fe79bc48;p=pandora-kernel.git If the queue is dying then we only call the rq->end_io callout. This leaves bios setup on the request, because the caller assumes when the blk_execute_rq_nowait/blk_execute_rq call has completed that the rq->bios have been cleaned up. This patch has blk_execute_rq_nowait use __blk_end_request_all to free bios and also call rq->end_io. Signed-off-by: Mike Christie Signed-off-by: Jens Axboe --- Reading git-diff-tree failed