gfs2: Switch to wait_event in gfs2_logd
authorAndreas Gruenbacher <agruenba@redhat.com>
Thu, 17 Aug 2023 13:46:16 +0000 (15:46 +0200)
committerAndreas Gruenbacher <agruenba@redhat.com>
Tue, 5 Sep 2023 13:58:16 +0000 (15:58 +0200)
commit6df373b09b1dcf2f7d579f515f653f89a896d417
tree1c397853732bfec6dff2712bdc6433b1ca941c55
parent66fa9912ec973796de4ce9b430d0811d401c17bb
gfs2: Switch to wait_event in gfs2_logd

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

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