f2fs: fix error return code in f2fs_fill_super()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Fri, 12 Apr 2013 02:23:18 +0000 (10:23 +0800)
committerJaegeuk Kim <jaegeuk.kim@samsung.com>
Sun, 21 Apr 2013 23:56:03 +0000 (08:56 +0900)
commit66348b723bcbf57c2d2630a0c83b77c136e61029
treea0e1df01ac565510d1cdd2be4c9ee272b70a7263
parent6224da875ee0cb702c6ffe3456307701106dffb5
f2fs: fix error return code in f2fs_fill_super()

Fix to return a negative error code from the error handling
case instead of 0, as returned elsewhere in this function.
Introduce by commit c0d39e(f2fs: fix return values from validate superblock)

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Acked-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
fs/f2fs/super.c