bio: make freeing of ->bi_io_vec conditional in bio_free()
The empty barrier patches do not carry data, so they have no
iovec attached.
Signed-off-by: NJens Axboe <jens.axboe@oracle.com>
Showing
想要评论请 注册 或 登录
The empty barrier patches do not carry data, so they have no
iovec attached.
Signed-off-by: NJens Axboe <jens.axboe@oracle.com>