commit | bb3af019e1c15a03c9d8bbcc359920111fc93187 | [log] [tgz] |
---|---|---|
author | Chao Yu <yuchao0@huawei.com> | Wed Sep 05 14:54:02 2018 +0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Nov 25 09:52:13 2019 +0100 |
tree | 7c5bab87fcf523a14cd9f03770b4b8ffcb1979b4 | |
parent | 75c36953ade7411eec249431fdcd8372e61ee20b [diff] |
f2fs: fix memory leak of percpu counter in fill_super() [ Upstream commit 4a70e255449c9a13eed7a6eeecc85a1ea63cef76 ] In fill_super -> init_percpu_info, we should destroy percpu counter in error path, otherwise memory allcoated for percpu counter will leak. Signed-off-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>