f2fs: fix to do sanity check on node footer in __write_node_folio()

[ Upstream commit 0a736109c9 ]

Add node footer sanity check during node folio's writeback, if sanity
check fails, let's shutdown filesystem to avoid looping to redirty
and writeback in .writepages.

Signed-off-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Chao Yu 2026-02-17 12:30:16 -05:00 • committed by Greg Kroah-Hartman
commit 971aa8e2a4