bio: make freeing of ->bi_io_vec conditional in bio_free()
authorJens Axboe <jens.axboe@oracle.com>
Wed, 18 Jul 2007 11:18:08 +0000 (13:18 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 16 Oct 2007 09:03:52 +0000 (11:03 +0200)
commit992c5ddaf1b8b85d2252339c4c89adf7469c09ca
tree67c802af524f923cf20ebcdde2220d72e539121b
parent2b94de552e07610dfa79fc49ea49d1cfa5cd9ce8
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: Jens Axboe <jens.axboe@oracle.com>
fs/bio.c