Skip to content
Commit 0b8eb629 authored by Chengguang Xu's avatar Chengguang Xu Committed by Jens Axboe
Browse files

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: default avatarChengguang Xu <cgxu519@mykernel.net>
Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
Acked-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 3373a346
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment