]> git.baikalelectronics.ru Git - kernel.git/commit
f2fs: optimize error handling in redirty_blocks
authorJack Qiu <jack.qiu@huawei.com>
Tue, 31 May 2022 01:16:56 +0000 (09:16 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 28 Jun 2022 16:27:09 +0000 (09:27 -0700)
commitf6d8b855920cf0e7d5a9703e6fa43fa6d600c404
treeaff33bc363effba90efde38cc90b3b66081c99bc
parent61f0c2a2bbb2d5e0f67573b0147d3bde7ee77209
f2fs: optimize error handling in redirty_blocks

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: Jack Qiu <jack.qiu@huawei.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/file.c