commit | 2c98eb5ea249767bbc11cf4e70e91d5b0458ed13 | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Sun Nov 13 22:02:26 2016 -0500 |
committer | Theodore Ts'o <tytso@mit.edu> | Sun Nov 13 22:02:26 2016 -0500 |
tree | de83b9e69d357898b2b737257b33dfc1ace75ba8 | |
parent | 6da22013bb7907b33c87968c25034b409a6161a2 [diff] |
ext4: allow ext4_truncate() to return an error This allows us to properly propagate errors back up to ext4_truncate()'s callers. This also means we no longer have to silently ignore some errors (e.g., when trying to add the inode to the orphan inode list). Signed-off-by: Theodore Ts'o <tytso@mit.edu> Reviewed-by: Jan Kara <jack@suse.cz>