]> git.baikalelectronics.ru Git - kernel.git/commit
f2fs: fix error path of fill_super
authorChao Yu <yuchao0@huawei.com>
Mon, 11 Jun 2018 10:02:02 +0000 (18:02 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Fri, 27 Jul 2018 09:03:59 +0000 (18:03 +0900)
commit113a0f22b3e56a3cb34506d2f5a5d077a385aa48
tree93991c49ed9e8eddd509544f35d8e55f8af1b461
parente8c71afea1e4a33b45b17b6df9681c8ebef6a4fc
f2fs: fix error path of fill_super

In fill_super, if root inode's attribute is incorrect, we need to
call f2fs_destroy_stats to release stats memory.

Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/super.c