diff options
| author | Chengguang Xu <[email protected]> | 2020-06-24 10:21:39 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2020-06-24 14:49:07 +0000 |
| commit | 0b8eb629a700c0ef15a437758db8255f8444e76c (patch) | |
| tree | 6958810d943851e9f8f0f435450d472471b00b2d /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | block: make function 'kill_bdev' static (diff) | |
| download | kernel-0b8eb629a700c0ef15a437758db8255f8444e76c.tar.gz kernel-0b8eb629a700c0ef15a437758db8255f8444e76c.zip | |
block: release bip in a right way in error path
Release bip using kfree() in error path when that was allocated
by kmalloc().
Signed-off-by: Chengguang Xu <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Acked-by: Martin K. Petersen <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions
