aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorJosef Bacik <[email protected]>2018-07-19 10:49:51 -0400
committerDavid Sterba <[email protected]>2018-08-06 13:12:59 +0200
commit4559b0a71749c442d34f7cfb9e72c9e58db83948 (patch)
treeba2c64c3767bf6cdfac0a1008c40efed4b72f8bc /tools/perf/scripts/python/export-to-sqlite.py
parent84db5ccf4262894852e0d178d250678945d9b0b8 (diff)
btrfs: don't leak ret from do_chunk_alloc
If we're trying to make a data reservation and we have to allocate a data chunk we could leak ret == 1, as do_chunk_alloc() will return 1 if it allocated a chunk. Since the end of the function is the success path just return 0. CC: [email protected] # 4.4+ Signed-off-by: Josef Bacik <[email protected]> Reviewed-by: Nikolay Borisov <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions