f2fs: fix memory leak when init f2fs filesystem fail
authorZhao Hongjiang <zhaohongjiang@huawei.com>
Tue, 20 Aug 2013 08:49:51 +0000 (16:49 +0800)
committerJaegeuk Kim <jaegeuk.kim@samsung.com>
Tue, 20 Aug 2013 09:58:44 +0000 (18:58 +0900)
commit9890ff3f23ed78c63611f661006cd5ae38550f44
treea3c542503c09e8cdf65112a57572adbde638f688
parent7b40527508670e56d817b837b2114bc340446539
f2fs: fix memory leak when init f2fs filesystem fail

When any of the caches create fails in init_f2fs_fs(), the other caches which are
create successful should be free.

Signed-off-by: Zhao Hongjiang <zhaohongjiang@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
fs/f2fs/super.c