]> git.openpandora.org Git - pandora-kernel.git/commitdiff
f2fs: report error of fill_zero
authorChao Yu <chao2.yu@samsung.com>
Fri, 7 Aug 2015 10:36:06 +0000 (18:36 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Mon, 10 Aug 2015 19:26:34 +0000 (12:26 -0700)
fill_zero can fail due to a lot of reason, but previously we do not handle
its return value, so its callers such as punch_hole/f2fs_zero_range may
report success, but actually can fail because of error occurs inside
fill_zero.

This patch fixes to report correct return value of fill_zero.

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

No differences found