f2fs: fix memory leak after kobject init failed in fill_super
authorChao Yu <chao2.yu@samsung.com>
Thu, 7 Nov 2013 02:14:51 +0000 (10:14 +0800)
committerJaegeuk Kim <jaegeuk.kim@samsung.com>
Fri, 8 Nov 2013 05:10:29 +0000 (14:10 +0900)
If we failed to init&add kobject when fill_super, stats info and proc object of
f2fs will not be released.
We should free them before we finish fill_super.

Signed-off-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>

No differences found