]> www.infradead.org Git - users/jedix/linux-maple.git/commit
gfs2: Clean up delete work processing
authorAndreas Gruenbacher <agruenba@redhat.com>
Thu, 12 Sep 2024 21:29:41 +0000 (23:29 +0200)
committerAndreas Gruenbacher <agruenba@redhat.com>
Tue, 5 Nov 2024 11:39:29 +0000 (12:39 +0100)
commit0baa10b60cddb587a1a252a8db76b0cea439d1be
treea5a608b5687d798a8a15f3f65386c95efcea5cbc
parentb4100457d02d90149129ba2230130954a03fdf0b
gfs2: Clean up delete work processing

Function delete_work_func() was previously assuming that the
GLF_TRY_TO_EVICT and GLF_VERIFY_DELETE flags won't both be set at the
same time, but there probably are races in which that can happen, so
handle that case correctly.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
fs/gfs2/glock.c