raid5: avoid unnecessary bio data set
authorShaohua Li <shli@fb.com>
Tue, 23 Aug 2016 04:14:02 +0000 (21:14 -0700)
committerShaohua Li <shli@fb.com>
Wed, 24 Aug 2016 17:21:53 +0000 (10:21 -0700)
commit45c91d808ff989d950e260dab9f89e8f4a3c9c2c
tree6799f63ff421f2e9288d59e319d366ca56b8c069
parent5f9d1fde7d54a5d5fd8cccbee9c9c31474fcdcf2
raid5: avoid unnecessary bio data set

bio_reset doesn't change bi_io_vec and bi_max_vecs, so we don't need to
set them every time. bi_private will be set before the bio is
dispatched.

Signed-off-by: Shaohua Li <shli@fb.com>
drivers/md/raid5.c