]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
gfs2: pass through holder from the VFS for freeze/thaw
authorChristian Brauner <brauner@kernel.org>
Fri, 4 Apr 2025 19:02:28 +0000 (21:02 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Jun 2025 13:32:32 +0000 (15:32 +0200)
commit7b4bf4d8968384b9b61a610f3494e245d68cd3c7
tree6ea63445362ead9a335b1a47207b3fb5d5d66bb9
parent0a2500782f4d48de0e8ce8013983bbe90bf7eba2
gfs2: pass through holder from the VFS for freeze/thaw

[ Upstream commit 62a2175ddf7e72941868f164b7c1f92e00f213bd ]

The filesystem's freeze/thaw functions can be called from contexts where
the holder isn't userspace but the kernel, e.g., during systemd
suspend/hibernate. So pass through the freeze/thaw flags from the VFS
instead of hard-coding them.

Signed-off-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/gfs2/super.c