Commit 520ff47f authored by Jack Qiu's avatar Jack Qiu Committed by Greg Kroah-Hartman
Browse files

f2fs: optimize error handling in redirty_blocks



[ Upstream commit a4a0e16d ]

Current error handling is at risk of page leaks. However, we dot't seek
any failure scenarios, just use f2fs_bug_on.

Signed-off-by: default avatarJack Qiu <jack.qiu@huawei.com>
Reviewed-by: default avatarChao Yu <chao@kernel.org>
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
Stable-dep-of: a4d7f2b3 ("f2fs: fix to wait page writeback before setting gcing flag")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 2e580f42
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment