diff options
author | Josef Bacik <jbacik@fb.com> | 2016-11-14 14:06:22 -0500 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2016-11-30 13:45:19 +0100 |
commit | f94480bd7be6bb1b0823d1036f3ee4ebe7450172 (patch) | |
tree | 185626f23c4cf4c5be566f9984d2ede1137904e7 /firmware/edgeport | |
parent | 62fe51c1d0100ff07a761cd077872e01f2a2b8ca (diff) | |
download | lwn-f94480bd7be6bb1b0823d1036f3ee4ebe7450172.tar.gz lwn-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 'firmware/edgeport')
0 files changed, 0 insertions, 0 deletions