From: Tejun Heo Date: Fri, 8 May 2009 02:54:14 +0000 (+0900) Subject: gdrom: dequeue in-flight request X-Git-Tag: v2.6.31-rc1~389^2~64 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2343046826a8ca426b07601d9593ee046c298b68;p=pandora-kernel.git gdrom: dequeue in-flight request gdrom already dequeues and fully completes requests on normal path and the error paths can be easily converted to do so too. Clean it up and dequeue requests on error paths too. While at it remove superflous blk_fs_request() && !blk_rq_sectors() condition check. [ Impact: dequeue in-flight request, cleanup ] Signed-off-by: Tejun Heo Cc: Adrian McMenamin Signed-off-by: Jens Axboe --- Reading git-diff-tree failed