summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2026-10-05 12:47:09 +0100
committerDavid Sterba <dsterba@suse.com>2026-10-12 19:16:24 +0200
commit784cd5a83476c6c720521f21350fb823928555ff (patch)
tree3aebd7519b3bd6fc56f3952ae5ab3aaf7682421e /tools/perf/scripts/python/flamegraph.py
parent9685445df748a7a33edb6b121350fae4af09c681 (diff)
downloadlinux-784cd5a83476c6c720521f21350fb823928555ff.tar.gz
linux-784cd5a83476c6c720521f21350fb823928555ff.zip
btrfs: fix lost error return value in btrfs_alloc_logged_file_extent()
If we fail to allocate a reserved file extent we then call btrfs_record_squota_delta() and assign its return value to 'ret', discarding the error from the failed allocation attempt and allowing log replay to proceed as if no errors happened, resulting in some replayed file extent item to point to an unallocated extent. At the moment btrfs_record_squota_delta() always returns 0 (success). Fixes: cecbb533b5fc ("btrfs: record simple quota deltas in delayed refs") 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