raid5-cache: fully initialize flush_bio when needed
authorChristoph Hellwig <hch@lst.de>
Mon, 28 Feb 2022 11:25:01 +0000 (13:25 +0200)
committerSong Liu <song@kernel.org>
Wed, 9 Mar 2022 06:55:04 +0000 (22:55 -0800)
commit0dd00cba99c352dc9afd62979f350d808c215cb9
tree053c197ff37c2c5e5c647298994968a6a6bea875
parent9f7c3f837a3768ce8d5a5c34070a47608a4a0209
raid5-cache: fully initialize flush_bio when needed

Stop using bio_reset and just initialize the bio fully when needed.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Song Liu <song@kernel.org>
drivers/md/raid5-cache.c