diff options
| author | Filipe Manana <fdmanana@suse.com> | 2026-09-16 15:43:41 +0100 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2026-09-17 19:39:41 +0200 |
| commit | 97fcd34aa9fd73cefe3120ac9a82ca9d7763922f (patch) | |
| tree | 1353a8401ccb99399a01e0fc890be619bf297619 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 3565893cc72cdf6b795cf6a33e7ff9605322334d (diff) | |
| download | linux-next-97fcd34aa9fd73cefe3120ac9a82ca9d7763922f.tar.gz linux-next-97fcd34aa9fd73cefe3120ac9a82ca9d7763922f.zip | |
btrfs: abort transaction on failure to update inode for hole punching and reflinking
If we fail to update the inode we error out without aborting the
transaction, which can result in a persistent inconsistency if after
the failure the transaction is committed, as we have dropped file
extent items from a range and either punched a hole or insert a new file
extent item for that range (for reflinks).
So add the missing transaction abort.
Fixes: 2aaa66558172 ("Btrfs: add hole punching")
Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
