]> git.baikalelectronics.ru Git - kernel.git/commit
NFSD: Protect against filesystem freezing
authorChuck Lever <chuck.lever@oracle.com>
Mon, 6 Mar 2023 15:43:47 +0000 (10:43 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 Mar 2023 07:50:27 +0000 (08:50 +0100)
commitb0df249c20b683ee5e85a1c2c60e9c60d84f2b12
tree66c1a1a1c5044d39b04e8fd215f47d0945b83919
parent9fcad84f32119ac08a295dbeb9789652dae58fb2
NFSD: Protect against filesystem freezing

[ Upstream commit 8e86b2fba0c96968c97d5e8c1922623ef6120ab6 ]

Flole observes this WARNING on occasion:

[1210423.486503] WARNING: CPU: 8 PID: 1524732 at fs/ext4/ext4_jbd2.c:75 ext4_journal_check_start+0x68/0xb0

Reported-by: <flole@flole.de>
Suggested-by: Jan Kara <jack@suse.cz>
Link: https://bugzilla.kernel.org/show_bug.cgi?id=217123
Fixes: 459ceebfe186 ("nfsd: use vfs_iter_read/write")
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/nfsd/vfs.c