From: Kent Overstreet Date: Mon, 10 Sep 2012 21:30:37 +0000 (-0700) Subject: bounce: Refactor __blk_queue_bounce to not use bi_io_vec X-Git-Tag: omap-for-v3.10/fixes-for-merge-window-part2~11^2~8^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6bc454d150047fcfbf53346412e64cdf3bf61a79;p=pandora-kernel.git bounce: Refactor __blk_queue_bounce to not use bi_io_vec A bunch of what __blk_queue_bounce() was doing was problematic for the immutable bvec work; this cleans that up and the code is quite a bit smaller, too. The __bio_for_each_segment() in copy_to_high_bio_irq() was changed because that one's looping over the original bio, not the bounce bio - a later patch renames __bio_for_each_segment() -> bio_for_each_segment_all(), and documents that bio_for_each_segment_all() is only for code that owns the bio. Signed-off-by: Kent Overstreet CC: Jens Axboe --- Reading git-diff-tree failed