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

Yu Kuai posted 2 patches 2 years, 5 months ago
drivers/md/md.c | 21 +++++++++++++++------
drivers/md/md.h |  3 +++
2 files changed, 18 insertions(+), 6 deletions(-)
[PATCH -next 0/2] md: fix two regressions related to export_rdev()
Posted by Yu Kuai 2 years, 5 months ago
From: Yu Kuai <yukuai3@huawei.com>

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.

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
Re: [PATCH -next 0/2] md: fix two regressions related to export_rdev()
Posted by Song Liu 2 years, 5 months ago
On Thu, Aug 24, 2023 at 7:59 PM Yu Kuai <yukuai1@huaweicloud.com> wrote:
>
> From: Yu Kuai <yukuai3@huawei.com>
>
> 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
>