gfs2: Simplify clean_journal
authorAndreas Gruenbacher <agruenba@redhat.com>
Sat, 17 May 2025 06:28:14 +0000 (08:28 +0200)
committerAndreas Gruenbacher <agruenba@redhat.com>
Thu, 22 May 2025 07:12:27 +0000 (09:12 +0200)
commit2ebb94ab93c3e4052f1d76275534d0ff46fc9b91
treebcd1f5980a71e61d8be1a93a2bbbeda07c2971b2
parent8a43d2187691f1f2b9db66f6b08afcc8a1b3095a
gfs2: Simplify clean_journal

In function clean_journal(), update @head to point at the log header
that indicates successful recovery:  this is where logging needs to
resume.

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