diff options
author | Hannes Reinecke <hare@suse.de> | 2020-08-19 18:20:21 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-09-04 00:20:46 +0300 |
commit | 4d063237b92a4e8d99350ad05492a45009a3c78c (patch) | |
tree | 7c8cb54444ab64989bd155212739ca7ba204dd27 /Documentation/hwmon/w83627hf.rst | |
parent | 655ac30094da0d724ce66161f15675d30da89cd8 (diff) | |
download | linux-4d063237b92a4e8d99350ad05492a45009a3c78c.tar.xz |
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 <hare@suse.de>
Signed-off-by: John Garry <john.garry@huawei.com>
Tested-by: Douglas Gilbert <dgilbert@interlog.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'Documentation/hwmon/w83627hf.rst')
0 files changed, 0 insertions, 0 deletions