]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
raid10: Use bio_reset()
authorKent Overstreet <koverstreet@google.com>
Thu, 6 Sep 2012 21:14:43 +0000 (14:14 -0700)
committerKent Overstreet <koverstreet@google.com>
Sat, 23 Mar 2013 21:15:33 +0000 (14:15 -0700)
commit8be185f2c9d54d6bc0bac1445227b67cb14c0b13
treedc8b688b417651484a391553c29deafb733ba92d
parent9e882242c6193ae6f416f2d8d8db0d9126bd996b
raid10: Use bio_reset()

More prep work for immutable bio vecs, mainly getting rid of references
to bi_idx.

bio_reset was being open coded in a few places. The one in sync_request
was a bit nontrivial to convert, so could use some extra eyeballs.

Signed-off-by: Kent Overstreet <koverstreet@google.com>
CC: Jens Axboe <axboe@kernel.dk>
CC: NeilBrown <neilb@suse.de>
Acked-by: NeilBrown <neilb@suse.de>
drivers/md/raid10.c