]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit83edc75f4dd40eb30431ea8758275a5498dd2ea4
tree3bc3f8888c6b382d2a132c600c3bc39b11d8ab12
parentd6988867c27afce7b3c03e70fb5c4ae0bd777db8
gfs2: Don't wait for journal flush in clean_journal

Commit 8cfd9e9960c7 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