f2fs: avoid to return incorrect errno of read_normal_summaries
authorChao Yu <chao2.yu@samsung.com>
Mon, 17 Mar 2014 08:36:24 +0000 (16:36 +0800)
committerJaegeuk Kim <jaegeuk.kim@samsung.com>
Tue, 18 Mar 2014 00:29:53 +0000 (09:29 +0900)
commite4fc5fbfc9e285356be7e5208bb1a2fa377b2656
tree127c25f2d12dc235e68c7b97cf6454148f559661
parent4bc8e9bcf50103216a7a316ab66b9bb8e81baa27
f2fs: avoid to return incorrect errno of read_normal_summaries

We should return error number of read_normal_summaries instead of -EINVAL when
read_normal_summaries failed.

Signed-off-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
fs/f2fs/segment.c