raid5: use bio_reset()
authorKent Overstreet <koverstreet@google.com>
Tue, 11 Sep 2012 19:26:38 +0000 (12:26 -0700)
committerKent Overstreet <koverstreet@google.com>
Sat, 23 Mar 2013 21:15:35 +0000 (14:15 -0700)
commit2f6db2a7073452b123726e2baab1f37d511bf86d
tree3060d24489efc7b40f344dff157d1a5d55d671a9
parent2aabaa65ad147bf8238a8a261b15a0c95e9e2afa
raid5: use bio_reset()

Had to shuffle the code around a bit (where bi_rw and bi_end_io were
set), but shouldn't really be anything tricky here

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