Re: [PATCH -next 0/2] md: fix two regressions related to export_rdev()

From: Song Liu
Date: Fri Aug 25 2023 - 02:39:41 EST


On Thu, Aug 24, 2023 at 7:59 PM Yu Kuai <yukuai1@xxxxxxxxxxxxxxx> wrote:
>
> From: Yu Kuai <yukuai3@xxxxxxxxxx>
>
> Those problems are found by a new mdadm test(see details in commit message)
> in my VM, it's not 100% reproducible but run this test in a loop, I can
> always reporduce them within 10 min.

Applied to md-next. Thanks!

Song

>
> Yu Kuai (2):
> md: don't dereference mddev after export_rdev()
> md: fix warning for holder mismatch from export_rdev()
>
> drivers/md/md.c | 21 +++++++++++++++------
> drivers/md/md.h | 3 +++
> 2 files changed, 18 insertions(+), 6 deletions(-)
>
> --
> 2.39.2
>