]> www.infradead.org Git - users/dwmw2/linux.git/commit
md/raid0: don't free conf on raid0_run failure
authorChristoph Hellwig <hch@lst.de>
Tue, 4 Jun 2024 17:25:28 +0000 (19:25 +0200)
committerSong Liu <song@kernel.org>
Mon, 10 Jun 2024 19:18:55 +0000 (19:18 +0000)
commit35f20acaa3585f25f8356da0ee6bc143e0256522
treea74a3566a86cc6f5bfd5b1f915fcb6d67dc3caa8
parentacc6680af28696a037ede62867e731841d4454c2
md/raid0: don't free conf on raid0_run failure

The core md code calls the ->free method which already frees conf.

Fixes: 0c031fd37f69 ("md: Move alloc/free acct bioset in to personality")
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Yu Kuai <yukuai3@huawei.com>
Signed-off-by: Song Liu <song@kernel.org>
Link: https://lore.kernel.org/r/20240604172607.3185916-2-hch@lst.de
drivers/md/raid0.c