Re: [PATCH v10 6/8] block: Kill bi_destructor

2012-09-06 Thread Tejun Heo
On Thu, Sep 06, 2012 at 03:35:00PM -0700, Kent Overstreet wrote: > 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

[PATCH v10 6/8] block: Kill bi_destructor

2012-09-06 Thread Kent Overstreet
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

[PATCH v10 6/8] block: Kill bi_destructor

2012-09-06 Thread Kent Overstreet
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

Re: [PATCH v10 6/8] block: Kill bi_destructor

2012-09-06 Thread Tejun Heo
On Thu, Sep 06, 2012 at 03:35:00PM -0700, Kent Overstreet wrote: 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