gfs2: The freeze glock should never be frozen
authorBob Peterson <rpeterso@redhat.com>
Thu, 25 Jun 2020 19:42:17 +0000 (14:42 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Jul 2020 07:34:02 +0000 (09:34 +0200)
commit3751fcfaceba84d7d0a4cc3fbe9bdcf485a66c21
treee0b1dc611f95c99df526deda8921095cbea7f799
parentc26a517fe322910a7fea885af6328436ccc18dac
gfs2: The freeze glock should never be frozen

[ Upstream commit c860f8ffbea8924de05a281b937128773d30a77c ]

Before this patch, some gfs2 code locked the freeze glock with LM_FLAG_NOEXP
(Do not freeze) flag, and some did not. We never want to freeze the freeze
glock, so this patch makes it consistently use LM_FLAG_NOEXP always.

Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/gfs2/ops_fstype.c
fs/gfs2/super.c