Skip to content
Commit 992c5dda authored by Jens Axboe's avatar Jens Axboe
Browse files

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: default avatarJens Axboe <jens.axboe@oracle.com>
parent 2b94de55
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