]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
f2fs: handle f2fs_truncate error correctly
authorChao Yu <chao2.yu@samsung.com>
Mon, 24 Aug 2015 09:39:42 +0000 (17:39 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Mon, 24 Aug 2015 16:39:56 +0000 (09:39 -0700)
commitb01548919c33767bc457390fa3c41aedc273bfff
tree69f966bc6a63078e1f54da898e8bac9a9783b701
parent4ec17d688d74b6b7cb10043c57ff4818cde2b0ca
f2fs: handle f2fs_truncate error correctly

This patch fixes to return error number of f2fs_truncate, so that we
can handle the error correctly in callers.

Signed-off-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/f2fs.h
fs/f2fs/file.c