gfs2: Get rid of current_tail()
authorAndreas Gruenbacher <agruenba@redhat.com>
Sat, 19 Dec 2020 06:15:17 +0000 (07:15 +0100)
committerAndreas Gruenbacher <agruenba@redhat.com>
Wed, 3 Feb 2021 17:37:25 +0000 (18:37 +0100)
commit5cb738b5fbd2f3ebe9dec0e428577a4f2128adbe
treea7cf4778bbc44272e6e15e05d4261a745ab94cb6
parent297de3180dd7ecbb3798f32e58691168587a8f85
gfs2: Get rid of current_tail()

Keep the current value of the updated log tail in the super block as
sb_log_flush_tail instead of computing it on the fly.  This avoids
unnecessary sd_ail_lock taking and cleans up the code.

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