]> www.infradead.org Git - users/jedix/linux-maple.git/commit
gfs2: move msleep to sleepable context
authorAlexander Aring <aahringo@redhat.com>
Mon, 31 Mar 2025 23:03:24 +0000 (19:03 -0400)
committerAndreas Gruenbacher <agruenba@redhat.com>
Mon, 21 Apr 2025 16:20:36 +0000 (18:20 +0200)
commitac5ee087d31ed93b6e45d2968a66828c6f621d8c
tree8b8639d74ee0f8549030b67c8b7333559014b297
parent9c32cda43eb78f78c73aee4aa344b777714e259b
gfs2: move msleep to sleepable context

This patch moves the msleep_interruptible() out of the non-sleepable
context by moving the ls->ls_recover_spin spinlock around so
msleep_interruptible() will be called in a sleepable context.

Cc: stable@vger.kernel.org
Fixes: 4a7727725dc7 ("GFS2: Fix recovery issues for spectators")
Suggested-by: Andreas Gruenbacher <agruenba@redhat.com>
Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
fs/gfs2/lock_dlm.c