Re: [PATCH] md/raid1: drop the redundant sysfs_unlink_rdev()
From: yu kuai
Date: Fri Nov 20 2026 - 22:59:03 EST
Hi,
在 2026/11/1 20:09, shao.mingyin@xxxxxxxxxx 写道:
> raid1_reshape() unlinks the old "rd{d}" link, assigns the new
> raid_disk, then unlinks again. The second call targets "rd{d2}", a slot
> that has no sysfs link yet, so it is a no-op; sysfs_link_rdev() below
> creates it.
>
> Signed-off-by: Shao Mingyin<shao.mingyin@xxxxxxxxxx>
Applied, btw, patch format is a bit strange.
--
Thanks,
Kuai