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: NChengguang Xu <cgxu519@mykernel.net> Reviewed-by: NChristoph Hellwig <hch@lst.de> Acked-by: NMartin K. Petersen <martin.petersen@oracle.com> Signed-off-by: NJens Axboe <axboe@kernel.dk>
Showing
想要评论请 注册 或 登录