diff options
author | Theodore Ts'o <tytso@mit.edu> | 2013-07-15 06:09:19 +0200 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2013-07-15 06:09:19 +0200 |
commit | 8acd5e9b1217e58a57124d9e225afa12efeae20d (patch) | |
tree | 34464ff949e24f7361f6ed0d76637372a10e88e7 /fs/ext4/extents_status.c | |
parent | ext4: don't allow ext4_free_blocks() to fail due to ENOMEM (diff) | |
download | linux-8acd5e9b1217e58a57124d9e225afa12efeae20d.tar.xz linux-8acd5e9b1217e58a57124d9e225afa12efeae20d.zip |
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" <tytso@mit.edu>
Cc: stable@vger.kernel.org
Diffstat (limited to 'fs/ext4/extents_status.c')
0 files changed, 0 insertions, 0 deletions