From: Theodore Ts'o Date: Mon, 15 Jul 2013 04:09:19 +0000 (-0400) Subject: ext4: fix error handling in ext4_ext_truncate() X-Git-Tag: v3.11-rc2~5^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8acd5e9b1217e58a57124d9e225afa12efeae20d;p=pandora-kernel.git ext4: fix error handling in ext4_ext_truncate() Previously ext4_ext_truncate() was ignoring potential error returns from ext4_es_remove_extent() and ext4_ext_remove_space(). This can lead to the on-diks extent tree and the extent status tree cache getting out of sync, which is particuarlly bad, and can lead to file system corruption and potential data loss. Signed-off-by: "Theodore Ts'o" Cc: stable@vger.kernel.org --- Reading git-diff-tree failed