f2fs: Fix a return value in case of error in 'f2fs_fill_super'
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sun, 11 Jun 2017 07:21:11 +0000 (09:21 +0200)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 4 Jul 2017 09:11:40 +0000 (02:11 -0700)
commitb63def9112cd8b91477a06ba5318c8a01ac474f1
treee70dc6aa14b7a78326afc2863c6dd62220717ff1
parenta005774c8dab68d1c3963aee7d9464c3ec400eba
f2fs: Fix a return value in case of error in 'f2fs_fill_super'

err must be set to -ENOMEM, otherwise we return 0.

Fixes: a912b54d3aaa0 ("f2fs: split bio cache")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/super.c