From: Christoph Hellwig Date: Fri, 3 Sep 2010 09:56:17 +0000 (+0200) Subject: block: simplify queue_next_fseq X-Git-Tag: v2.6.37-rc1~166^2~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cde4c406d8fb051c5aafc917643adbb9dbd0abc2;p=pandora-kernel.git block: simplify queue_next_fseq We need to call blk_rq_init and elv_insert for all cases in queue_next_fseq, so take these calls into common code. Also move the end_io initialization from queue_flush into queue_next_fseq and rename queue_flush to init_flush_request now that it's old name doesn't apply anymore. Signed-off-by: Christoph Hellwig Signed-off-by: Tejun Heo Signed-off-by: Jens Axboe --- Reading git-diff-tree failed