]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
gfs2: drain ail under sd_log_flush_lock
authorAndreas Gruenbacher <agruenba@redhat.com>
Wed, 1 Apr 2026 16:18:38 +0000 (18:18 +0200)
committerAndreas Gruenbacher <agruenba@redhat.com>
Tue, 7 Apr 2026 20:19:22 +0000 (22:19 +0200)
commit7d2da6ed172680a7ef06acfe3e44a2326977573f
tree49d59161cd860d7cd453028e8fa37d9a9b559885
parent6e1a833df9524e05889cf0fe02879b02d85776fd
gfs2: drain ail under sd_log_flush_lock

When a withdraw is carried out, call gfs2_ail_drain() under the
sdp->sd_log_flush_lock.  This isn't strictly necessary but should be easier to
read, and more robust against possible future bugs.

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