diff options
author | Andreas Gruenbacher <agruenba@redhat.com> | 2025-08-06 23:34:03 +0200 |
---|---|---|
committer | Andreas Gruenbacher <agruenba@redhat.com> | 2025-09-12 12:03:01 +0200 |
commit | 28c4d9bc0708956c1a736a9e49fee71b65deee81 (patch) | |
tree | 2fb62e2c1ce82e7e5adf9828bd468f4d706eaea5 /scripts/kernel-doc.py | |
parent | 6ab26555c9ffef96c56ca16356e55ac5ab61ec93 (diff) |
gfs2: Fix unlikely race in gdlm_put_lock
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>
Diffstat (limited to 'scripts/kernel-doc.py')
0 files changed, 0 insertions, 0 deletions