diff options
| author | Filipe Manana <fdmanana@suse.com> | 2026-11-13 17:10:54 +0000 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2026-11-23 19:52:04 +0100 |
| commit | 6cd72166183bfc290fd853470232020c4b807aa2 (patch) | |
| tree | b30a669760336a78d124baafc7d498cde534047f /tools/perf/scripts/python/flamegraph.py | |
| parent | ee020b5f0eb81a86533a16dcaafcee2b97a0f74d (diff) | |
btrfs: abort transaction on failure to update inode after hole punching
If we fail to update the inode we simply release the transaction and don't
abort the transaction. This means the transaction can get committed and we
will not persist important updates to the inode item such as nbytes (which
gets reduced after punching holes) and the timestamps. Fix this by adding
the missing abort.
Link: https://sashiko.dev/#/bug/linux-d8b4cb7a-8dfe-454f-9b19-a67af28b81bd
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/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
