diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2013-08-23 08:30:20 +0800 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk.kim@samsung.com> | 2013-08-26 19:36:46 +0900 |
commit | 6e6b978c32bacd98a93e34af7f4222e76007705f (patch) | |
tree | e592d162d0fb763fe91516ef81f2a4d69782157e /fs/f2fs/f2fs.h | |
parent | d59ff4df7b7ae39e6fb047db9e83cd899b5764f1 (diff) | |
download | op-kernel-dev-6e6b978c32bacd98a93e34af7f4222e76007705f.zip op-kernel-dev-6e6b978c32bacd98a93e34af7f4222e76007705f.tar.gz |
f2fs: fix error return code in init_f2fs_fs()
Fix to return -ENOMEM in the kset create and add error handling
case instead of 0, as done elsewhere in this function.
Introduced by commit b59d0bae6ca30c496f298881616258f9cde0d9c6.
(f2fs: add sysfs support for controlling the gc_thread)
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Acked-by: Namjae Jeon <namjae.jeon@samsung.com>
[Jaegeuk Kim: merge the patch with previous modification]
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
Diffstat (limited to 'fs/f2fs/f2fs.h')
0 files changed, 0 insertions, 0 deletions