summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2013-07-15 00:09:19 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-07-28 16:30:21 -0700
commitc07ae685f761d7b6850f502a34964005428c181a (patch)
tree959242625be4f69b46103be943540b7725685ffd /kernel
parent95405bdbff81ce7f491145b2ea0d4091c71c2af7 (diff)
ext4: fix error handling in ext4_ext_truncate()
commit 8acd5e9b1217e58a57124d9e225afa12efeae20d upstream. 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" <tytso@mit.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions