]> git.baikalelectronics.ru Git - kernel.git/commit
raid5: initialize the stripe_head embeeded bios as needed
authorChristoph Hellwig <hch@lst.de>
Mon, 28 Feb 2022 11:25:03 +0000 (13:25 +0200)
committerSong Liu <song@kernel.org>
Wed, 9 Mar 2022 06:55:13 +0000 (22:55 -0800)
commit27abd722a4456e8d681ff25a99dd4cfcfcf5a6d3
treeb7feb3420fcd034300541b741b7b4d867f081521
parent71e967e591c2a7f806b99a77772d2d721494b598
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: Christoph Hellwig <hch@lst.de>
Signed-off-by: Song Liu <song@kernel.org>
drivers/md/raid5.c