gfs2: Minor gfs2_ail1_empty cleanup
authorAndreas Gruenbacher <agruenba@redhat.com>
Wed, 20 Dec 2023 15:38:21 +0000 (16:38 +0100)
committerAndreas Gruenbacher <agruenba@redhat.com>
Wed, 20 Dec 2023 20:29:40 +0000 (21:29 +0100)
commit4710642807ac46942b08e9bcc39ae6fd91e947fa
tree53b89ca4ca0cc7fb63164fb0e061f994db1cd59f
parent34d63b8162b7b93e616212bb1026fdc51a35ee21
gfs2: Minor gfs2_ail1_empty cleanup

Change gfs2_ail1_empty() to return %true when the ail1 list is empty.

Based on that, make the loop in empty_ail1_list() more obvious.

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