f2fs: fix error handling for calls to various functions in the function recover_inlin...
authorNicholas Krause <xerofoify@gmail.com>
Mon, 21 Sep 2015 22:55:49 +0000 (18:55 -0400)
committerJaegeuk Kim <jaegeuk@kernel.org>
Fri, 9 Oct 2015 23:20:53 +0000 (16:20 -0700)
commit545fe4210df5eb4097aa17c68f0f153db27bcf44
tree8ddc75d25204b70365c38087e1d44905027b7943
parent9cd81ce3c2f01fc599b9156b94b868b4f578698c
f2fs: fix error handling for calls to various functions in the function recover_inline_data

This fixes error handling for calls to various functions in the
function  recover_inline_data to check if these particular functions
either return a error code or the boolean value false to signal their
caller they have failed internally and if this arises return false
to signal failure immediately to the caller of recover_inline_data
as we cannot continue after failures to calling either the function
truncate_inline_inode or truncate_blocks.

Signed-off-by: Nicholas Krause <xerofoify@gmail.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/inline.c