commit | f94480bd7be6bb1b0823d1036f3ee4ebe7450172 | [log] [tgz] |
---|---|---|
author | Josef Bacik <jbacik@fb.com> | Mon Nov 14 14:06:22 2016 -0500 |
committer | David Sterba <dsterba@suse.com> | Wed Nov 30 13:45:19 2016 +0100 |
tree | 185626f23c4cf4c5be566f9984d2ede1137904e7 | |
parent | 62fe51c1d0100ff07a761cd077872e01f2a2b8ca [diff] |
Btrfs: abort transaction if fill_holes() fails At this point we will have dropped extent entries from the file, so if we fail to insert the new hole entries then we are leaving the fs in a corrupt state (albeit an easily fixed one). Abort the transaciton if this happens so we can avoid corrupting the fs. Thanks, Signed-off-by: Josef Bacik <jbacik@fb.com> Signed-off-by: David Sterba <dsterba@suse.com>