gfs2: Don't wait for journal flush in clean_journal
authorAndreas Gruenbacher <agruenba@redhat.com>
Fri, 11 Dec 2020 00:36:25 +0000 (01:36 +0100)
committerAndreas Gruenbacher <agruenba@redhat.com>
Wed, 3 Feb 2021 17:37:24 +0000 (18:37 +0100)
commit4a3d049db42b42a36ae84eb8b59d2f5119737253
tree3bc3f8888c6b382d2a132c600c3bc39b11d8ab12
parentc1eba1b0bca59316f34aa6f70fe5004abba8082d
gfs2: Don't wait for journal flush in clean_journal

Commit 588bff95c94e added gfs2_write_log_header() and started using it in
clean_journal(), with an additional call to log_flush_wait() at the end of
gfs2_write_log_header() which is unnecessary for clean_journal().  Move
that call out of gfs2_write_log_header() to restore the previous behavior.

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