summaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2021-05-19 17:52:46 +0300
committerDavid Sterba <dsterba@suse.com>2021-05-28 00:30:55 +0300
commit856bd270dc4db209c779ce1e9555c7641ffbc88e (patch)
tree61a404a1837f5ce0ca86b49e4472408571fd00f0 /tools/perf/util/scripting-engines/trace-event-python.c
parentb86652be7c83f70bf406bed18ecf55adb9bfb91b (diff)
downloadlinux-856bd270dc4db209c779ce1e9555c7641ffbc88e.tar.xz
btrfs: return errors from btrfs_del_csums in cleanup_ref_head
We are unconditionally returning 0 in cleanup_ref_head, despite the fact that btrfs_del_csums could fail. We need to return the error so the transaction gets aborted properly, fix this by returning ret from btrfs_del_csums in cleanup_ref_head. Reviewed-by: Qu Wenruo <wqu@suse.com> CC: stable@vger.kernel.org # 4.19+ Signed-off-by: Josef Bacik <josef@toxicpanda.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions