]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
f2fs: fix to propagate error from f2fs_enable_checkpoint()
authorChao Yu <chao@kernel.org>
Tue, 30 Dec 2025 17:57:00 +0000 (12:57 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 19 Jan 2026 12:12:02 +0000 (13:12 +0100)
commit690665ec52ea9ad44fc8f331681a0f0d8effd992
treee7c40083c5bc7b664626c78be72bde4108812791
parent9480d7449b9fc40837ca4f208fab4caa7bf65568
f2fs: fix to propagate error from f2fs_enable_checkpoint()

[ Upstream commit be112e7449a6e1b54aa9feac618825d154b3a5c7 ]

In order to let userspace detect such error rather than suffering
silent failure.

Fixes: 4354994f097d ("f2fs: checkpoint disabling")
Cc: stable@kernel.org
Signed-off-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
[ adapted error handling to use restore_gc ]
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/f2fs/super.c