aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-script.c
diff options
context:
space:
mode:
authorJosef Bacik <[email protected]>2020-12-16 16:22:17 +0000
committerDavid Sterba <[email protected]>2021-01-18 15:00:11 +0000
commit34d1eb0e599875064955a74712f08ff14c8e3d5f (patch)
tree406929a9427896a1b47fe88526aa6e161d70bb9a /tools/perf/builtin-script.c
parentbtrfs: fix lockdep splat in btrfs_recover_relocation (diff)
downloadkernel-34d1eb0e599875064955a74712f08ff14c8e3d5f.tar.gz
kernel-34d1eb0e599875064955a74712f08ff14c8e3d5f.zip
btrfs: don't clear ret in btrfs_start_dirty_block_groups
If we fail to update a block group item in the loop we'll break, however we'll do btrfs_run_delayed_refs and lose our error value in ret, and thus not clean up properly. Fix this by only running the delayed refs if there was no failure. CC: [email protected] # 4.4+ Reviewed-by: Qu Wenruo <[email protected]> Reviewed-by: Johannes Thumshirn <[email protected]> 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/builtin-script.c')
0 files changed, 0 insertions, 0 deletions