commit | 9ea2f0be6ceaebae1518a5f897cff2645830dd95 | [log] [tgz] |
---|---|---|
author | Chao Yu <yuchao0@huawei.com> | Fri Aug 23 17:58:34 2019 +0800 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Fri Sep 06 16:18:26 2019 -0700 |
tree | 3d0dc96ba872a33f0ea5d7c0df1c8c80b694f4ec | |
parent | 052a82d85a3b3eee6a386be2ba3b82278cf277ce [diff] |
f2fs: fix wrong error injection path in inc_valid_block_count() If FAULT_BLOCK type error injection is on, in inc_valid_block_count() we may decrease sbi->alloc_valid_block_count percpu stat count incorrectly, fix it. Fixes: 36b877af7992 ("f2fs: Keep alloc_valid_block_count in sync") Signed-off-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>