f2fs: fix error path of fill_super
commit4e423832a675af671eab9d8a3d96636aa63faa9e
authorChao Yu <yuchao0@huawei.com>
Mon, 11 Jun 2018 10:02:02 +0000 (11 18:02 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Fri, 27 Jul 2018 09:03:59 +0000 (27 18:03 +0900)
tree93991c49ed9e8eddd509544f35d8e55f8af1b461
parent4cac90d5491c9a157909b9d45128997d35624e01
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