deepin-kernel/fs/gfs2
Alexander Aring 2cf9b8a11c gfs2: move msleep to sleepable context
commit ac5ee087d31ed93b6e45d2968a66828c6f621d8c upstream.

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: 4a7727725d ("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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 40aefac870c14a74f249922e53233782101bb5ba)
2025-07-03 11:31:49 +08:00
..
Kconfig fs: add CONFIG_BUFFER_HEAD 2023-08-02 09:13:09 -06:00
Makefile
acl.c gfs2: convert to ctime accessor functions 2023-07-24 10:29:59 +02:00
acl.h gfs2: No longer use 'extern' in function declarations 2024-12-10 20:25:53 +08:00
aops.c gfs2: Rename gfs2_withdrawn to gfs2_withdrawing_or_withdrawn 2024-12-10 20:25:53 +08:00
aops.h gfs2: No longer use 'extern' in function declarations 2024-12-10 20:25:53 +08:00
bmap.c gfs2: Get rid of gfs2_alloc_blocks generation parameter 2024-12-10 20:25:53 +08:00
bmap.h gfs2: No longer use 'extern' in function declarations 2024-12-10 20:25:53 +08:00
dentry.c Reinstate "GFS2: free disk inode which is deleted by remote node -V2" 2023-03-23 19:37:56 +01:00
dir.c gfs2: Get rid of gfs2_alloc_blocks generation parameter 2024-12-10 20:25:53 +08:00
dir.h gfs2: No longer use 'extern' in function declarations 2024-12-10 20:25:53 +08:00
export.c Change calling conventions for filldir_t 2022-08-17 17:25:04 -04:00
file.c gfs2: Truncate address space when flipping GFS2_DIF_JDATA flag 2025-02-05 15:10:32 +08:00
gfs2.h
glock.c gfs2: Check for empty queue in run_queue 2025-06-10 10:34:56 +08:00
glock.h gfs2: Fix unlinked inode cleanup 2024-12-10 20:44:55 +08:00
glops.c gfs2: Rename gfs2_withdrawn to gfs2_withdrawing_or_withdrawn 2024-12-10 20:25:53 +08:00
glops.h gfs2: No longer use 'extern' in function declarations 2024-12-10 20:25:53 +08:00
incore.h gfs2: Rename GLF_VERIFY_EVICT to GLF_VERIFY_DELETE 2024-12-10 20:44:55 +08:00
inode.c gfs2: gfs2_create_inode error handling fix 2025-06-20 14:38:36 +08:00
inode.h gfs2: No longer use 'extern' in function declarations 2024-12-10 20:25:53 +08:00
lock_dlm.c gfs2: move msleep to sleepable context 2025-07-03 11:31:49 +08:00
log.c gfs2: Replace gfs2_glock_queue_put with gfs2_glock_put_async 2024-12-10 20:44:54 +08:00
log.h gfs2: No longer use 'extern' in function declarations 2024-12-10 20:25:53 +08:00
lops.c gfs2: Use mapping->gfp_mask for metadata inodes 2023-09-05 15:58:15 +02:00
lops.h gfs2: No longer use 'extern' in function declarations 2024-12-10 20:25:53 +08:00
main.c gfs2: Rename "freeze_workqueue" to "gfs2_freeze" 2023-09-05 15:58:17 +02:00
meta_io.c gfs2: Rename gfs2_withdrawn to gfs2_withdrawing_or_withdrawn 2024-12-10 20:25:53 +08:00
meta_io.h gfs2: No longer use 'extern' in function declarations 2024-12-10 20:25:53 +08:00
ops_fstype.c kthread: add kthread_stop_put 2024-12-10 20:26:20 +08:00
quota.c gfs2: Revert "ignore negated quota changes" 2024-12-10 20:42:39 +08:00
quota.h gfs2: No longer use 'extern' in function declarations 2024-12-10 20:25:53 +08:00
recovery.c gfs2: Rename gfs2_withdrawn to gfs2_withdrawing_or_withdrawn 2024-12-10 20:25:53 +08:00
recovery.h gfs2: No longer use 'extern' in function declarations 2024-12-10 20:25:53 +08:00
rgrp.c gfs2: Fix unlinked inode cleanup 2024-12-10 20:44:55 +08:00
rgrp.h gfs2: No longer use 'extern' in function declarations 2024-12-10 20:25:53 +08:00
super.c KMSAN: uninit-value in inode_go_dump (5) 2024-12-16 00:22:41 +08:00
super.h gfs2: No longer use 'extern' in function declarations 2024-12-10 20:25:53 +08:00
sys.c gfs2: Rename gfs2_withdrawn to gfs2_withdrawing_or_withdrawn 2024-12-10 20:25:53 +08:00
sys.h
trace_gfs2.h gfs2: Remove 'first' trace_gfs2_promote argument 2021-10-25 08:42:19 +02:00
trans.c gfs2: Rename gfs2_withdrawn to gfs2_withdrawing_or_withdrawn 2024-12-10 20:25:53 +08:00
trans.h gfs2: No longer use 'extern' in function declarations 2024-12-10 20:25:53 +08:00
util.c gfs2: Get rid of gfs2_glock_queue_put in signal_our_withdraw 2024-12-10 20:44:54 +08:00
util.h gfs2: Rename gfs2_withdrawn to gfs2_withdrawing_or_withdrawn 2024-12-10 20:25:53 +08:00
xattr.c gfs2: Get rid of gfs2_alloc_blocks generation parameter 2024-12-10 20:25:53 +08:00
xattr.h gfs2: No longer use 'extern' in function declarations 2024-12-10 20:25:53 +08:00