diff options
| author | Hannes Reinecke <[email protected]> | 2020-08-19 23:20:21 +0800 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2020-09-03 15:20:46 -0600 |
| commit | 4d063237b92a4e8d99350ad05492a45009a3c78c (patch) | |
| tree | 7c8cb54444ab64989bd155212739ca7ba204dd27 /tools/perf/scripts/python/bin | |
| parent | 655ac30094da0d724ce66161f15675d30da89cd8 (diff) | |
blk-mq: Free tags in blk_mq_init_tags() upon error
Since the tags are allocated in blk_mq_init_tags(), it's better practice
to free in that same function upon error, rather than a callee which is to
init the bitmap tags (blk_mq_init_tags()).
[jpg: Split from an earlier patch with a new commit message]
Signed-off-by: Hannes Reinecke <[email protected]>
Signed-off-by: John Garry <[email protected]>
Tested-by: Douglas Gilbert <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions