Files
linux/drivers/md
Xiao Ni 05c8de4f09 md: fix return value of mddev_trylock
A return value of 0 is treaded as successful lock acquisition. In fact, a
return value of 1 means getting the lock successfully.

Link: https://lore.kernel.org/linux-raid/20260127073951.17248-1-xni@redhat.com
Fixes: 9e59d60976 ("md: call del_gendisk in control path")
Reported-by: Bart Van Assche <bvanassche@acm.org>
Closes: https://lore.kernel.org/linux-raid/20250611073108.25463-1-xni@redhat.com/T/#mfa369ef5faa4aa58e13e6d9fdb88aecd862b8f2f
Signed-off-by: Xiao Ni <xni@redhat.com>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by:  Li Nan <linan122@huawei.com>
Signed-off-by: Yu Kuai <yukuai@fnnas.com>
2026-02-02 15:39:55 +08:00
..
2024-04-01 11:53:37 -06:00
2025-08-19 11:12:50 +02:00
2023-02-14 14:23:07 -05:00
2024-02-20 14:22:51 -05:00
2025-12-10 19:28:22 +01:00
2023-02-14 14:23:06 -05:00
2024-11-20 11:38:04 +01:00
2025-11-05 08:07:21 -07:00
2025-01-13 07:36:29 -08:00
2026-02-02 15:39:55 +08:00
2026-01-26 13:17:38 +08:00
2026-01-26 13:17:38 +08:00
2026-01-26 13:17:38 +08:00
2026-01-26 13:17:38 +08:00