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. 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