gfs2: Replace sd_freeze_state with SDF_FROZEN flag
authorAndreas Gruenbacher <agruenba@redhat.com>
Thu, 18 Aug 2022 14:12:24 +0000 (16:12 +0200)
committerAndreas Gruenbacher <agruenba@redhat.com>
Mon, 3 Jul 2023 20:30:23 +0000 (22:30 +0200)
commit5432af15f8772d5e1a44d59d6ffcd513da8436b4
treecbceceac890506ff5400e53960d3640790d0078e
parentb77b4a4815a9651d1d6e07b8e6548eee9531a5eb
gfs2: Replace sd_freeze_state with SDF_FROZEN flag

Replace sd_freeze_state with a new SDF_FROZEN flag.

There no longer is a need for indicating that a freeze is in progress
(SDF_STARTING_FREEZE); we are now protecting the critical sections with
the sd_freeze_mutex.

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