Files
Andreas Gruenbacher 64c61b4ac6 gfs2: Fix unlikely race in gdlm_put_lock
[ Upstream commit 28c4d9bc0708956c1a736a9e49fee71b65deee81 ]

In gdlm_put_lock(), there is a small window of time in which the
DFL_UNMOUNT flag has been set but the lockspace hasn't been released,
yet.  In that window, dlm may still call gdlm_ast() and gdlm_bast().
To prevent it from dereferencing freed glock objects, only free the
glock if the lockspace has actually been released.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Reviewed-by: Andrew Price <anprice@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-10-29 14:10:16 +01:00
..
2024-10-01 17:01:08 +02:00
2025-10-15 12:03:15 +02:00
2025-10-15 12:03:15 +02:00
2025-10-15 12:03:15 +02:00
2025-10-15 12:03:15 +02:00
2025-07-09 19:40:07 +02:00
2025-04-04 11:31:42 -07:00
2025-05-22 09:12:27 +02:00
2025-05-22 09:12:27 +02:00
2025-05-22 09:12:27 +02:00
2025-02-07 10:27:25 +01:00
2024-12-09 10:44:35 +01:00
2025-07-09 19:40:07 +02:00
2025-05-22 09:12:27 +02:00
2025-05-22 09:12:27 +02:00
2025-07-16 23:30:32 +02:00
2024-04-29 12:35:15 +02:00