summaryrefslogtreecommitdiff
path: root/fs/gfs2/lops.c
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruenba@redhat.com>2023-12-20 20:09:22 +0300
committerAndreas Gruenbacher <agruenba@redhat.com>2023-12-20 23:29:41 +0300
commite0f1f021782d6a2e719a451218554a8198c77120 (patch)
treed6b41feda58c32cbc706fb123a9bf8d58ccd5e8d /fs/gfs2/lops.c
parent4d927b03a68846e4e791ccde6b4c274df02f11e9 (diff)
downloadlinux-e0f1f021782d6a2e719a451218554a8198c77120.tar.xz
gfs2: Lift withdraw check out of gfs2_ail1_empty
Lift the check for the SDF_WITHDRAWING flag out of gfs2_ail1_empty() and into its callers. This is needed so that gfs2_flush_revokes() can drop the sd_log_lock spinlock before triggering a withdraw if necessary. Instead of checking for the SDF_WITHDRAWING flag, use gfs2_withdrawing(). Also, the low-level code triggering the delayed withdraw reports when there is a problem, so there is no need to report that again. Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'fs/gfs2/lops.c')
0 files changed, 0 insertions, 0 deletions