1
0
Files
linux/Documentation
Kent Overstreet 4254bba17d block: Kill bi_destructor
Now that we've got generic code for freeing bios allocated from bio
pools, this isn't needed anymore.

This patch also makes bio_free() static, since without bi_destructor
there should be no need for it to be called anywhere else.

bio_free() is now only called from bio_put, so we can refactor those a
bit - move some code from bio_put() to bio_free() and kill the redundant
bio->bi_next = NULL.

v5: Switch to BIO_KMALLOC_POOL ((void *)~0), per Boaz
v6: BIO_KMALLOC_POOL now NULL, drop bio_free's EXPORT_SYMBOL
v7: No #define BIO_KMALLOC_POOL anymore

Signed-off-by: Kent Overstreet <koverstreet@google.com>
CC: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2012-09-09 10:35:39 +02:00
..
2012-09-09 10:35:39 +02:00
2012-06-18 13:42:03 +02:00
2012-07-31 08:16:22 -06:00
2012-07-18 18:35:57 -07:00
2012-07-09 16:42:11 -04:00
2012-07-24 23:20:40 -04:00
2012-08-21 16:45:03 -07:00
2012-07-29 21:11:05 -03:00
2012-07-31 08:16:23 -06:00