]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
gfs2: Switch to wait_event in gfs2_logd
authorAndreas Gruenbacher <agruenba@redhat.com>
Thu, 17 Aug 2023 13:46:16 +0000 (15:46 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 19 Sep 2023 10:22:56 +0000 (12:22 +0200)
commit751facd3634c5438a905d1ecc22bdb4f3248f40d
tree416bcd287ac3d6ac9bc5ce7fa5f432ac3ab010a4
parentd0245b066971531d6c8aa27dad77970afca80033
gfs2: Switch to wait_event in gfs2_logd

[ Upstream commit 6df373b09b1dcf2f7d579f515f653f89a896d417 ]

In gfs2_logd(), switch from an open-coded wait loop to
wait_event_interruptible_timeout().

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Stable-dep-of: b74cd55aa9a9 ("gfs2: low-memory forced flush fixes")
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/gfs2/log.c