aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorJosef Bacik <[email protected]>2021-05-19 14:52:46 +0000
committerDavid Sterba <[email protected]>2021-05-27 21:30:55 +0000
commit856bd270dc4db209c779ce1e9555c7641ffbc88e (patch)
tree61a404a1837f5ce0ca86b49e4472408571fd00f0 /tools/perf/scripts/python/sched-migration.py
parentbtrfs: fix error handling in btrfs_del_csums (diff)
downloadkernel-856bd270dc4db209c779ce1e9555c7641ffbc88e.tar.gz
kernel-856bd270dc4db209c779ce1e9555c7641ffbc88e.zip
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 <[email protected]> CC: [email protected] # 4.19+ Signed-off-by: Josef Bacik <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions