OSDN Git Service

gfs2: Clean up revokes on normal withdraws
authorBob Peterson <rpeterso@redhat.com>
Wed, 19 May 2021 18:54:02 +0000 (14:54 -0400)
committerAndreas Gruenbacher <agruenba@redhat.com>
Thu, 20 May 2021 11:31:37 +0000 (13:31 +0200)
commitf5456b5d67cf812fd31fe3e130ca216b2e0908e5
tree60b8d69ffbc466fe06b64ac3334c0ccd6b9cdd8e
parent865cc3e9cc0b1d4b81c10d53174bced76decf888
gfs2: Clean up revokes on normal withdraws

Before this patch, the system ail lists were cleaned up if the logd
process withdrew, but on other withdraws, they were not cleaned up.
This included the cleaning up of the revokes as well.

This patch reorganizes things a bit so that all withdraws (not just logd)
clean up the ail lists, including any pending revokes.

Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
fs/gfs2/log.c
fs/gfs2/log.h
fs/gfs2/lops.c
fs/gfs2/lops.h
fs/gfs2/util.c