diff options
author | 2016-11-14 14:06:22 -0500 | |
---|---|---|
committer | 2016-11-30 13:45:19 +0100 | |
commit | f94480bd7be6bb1b0823d1036f3ee4ebe7450172 (patch) | |
tree | 185626f23c4cf4c5be566f9984d2ede1137904e7 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | Btrfs: fix file extent corruption (diff) | |
download | linux-dev-f94480bd7be6bb1b0823d1036f3ee4ebe7450172.tar.xz linux-dev-f94480bd7be6bb1b0823d1036f3ee4ebe7450172.zip |
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>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions