Skip to content
Commit 03a6b195 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Song Liu
Browse files

raid5: initialize the stripe_head embeeded bios as needed



Use bio_init to initialize the bios when needed to the full state
instead of a partial initialization plus later setting of dev and op
and bio_reset.

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarSong Liu <song@kernel.org>
parent 89f94b64
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment