commit | cde4c406d8fb051c5aafc917643adbb9dbd0abc2 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Fri Sep 03 11:56:17 2010 +0200 |
committer | Jens Axboe <jaxboe@fusionio.com> | Fri Sep 10 12:35:37 2010 +0200 |
tree | 554f623851e5b30069e5e0c5706100ed7b82a3bd | |
parent | 1e87901e189c8f01750d67485009fe3827c691bf [diff] |
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 <hch@lst.de> Signed-off-by: Tejun Heo <tj@kernel.org> Signed-off-by: Jens Axboe <jaxboe@fusionio.com>