]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "md-raid: destroy the bitmap after destroying the thread"
authorGuoqing Jiang <guoqing.jiang@linux.dev>
Wed, 17 Aug 2022 12:05:13 +0000 (20:05 +0800)
committerSong Liu <song@kernel.org>
Wed, 24 Aug 2022 18:19:23 +0000 (11:19 -0700)
commita09643da05b6447fc7030dde0e2453b674cf98c0
tree3d5c95e14f7b4a4f4b77c2b7690628e359e6ea89
parent6a720012b42f8ea2ee600d0bc53823f4ce747f6c
Revert "md-raid: destroy the bitmap after destroying the thread"

This reverts commit 8d276a45d5cc77f6944b9dd4ec0b4135d083f77f. Because it
obviously breaks clustered raid as noticed by Neil though it fixed KASAN
issue for dm-raid, let's revert it and fix KASAN issue in next commit.

[1]. https://lore.kernel.org/linux-raid/a6657e08-b6a7-358b-2d2a-0ac37d49d23a@linux.dev/T/#m95ac225cab7409f66c295772483d091084a6d470

Fixes: 8d276a45d5cc ("md-raid: destroy the bitmap after destroying the thread")
Signed-off-by: Guoqing Jiang <guoqing.jiang@linux.dev>
Signed-off-by: Song Liu <song@kernel.org>
drivers/md/md.c