fs/bio: bio_alloc_bioset: pass right object ptr to mempool_free
authorSubhash Peddamallu <subhash.peddamallu@gmail.com>
Mon, 16 Feb 2009 09:27:07 +0000 (10:27 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Wed, 18 Feb 2009 09:32:01 +0000 (10:32 +0100)
commita60e78e57a17d55bbd5a96da16fe9649d364b987
tree5b7a7c5977ee8862166f743d1aede56278c4971b
parent93dbb393503d53cd226e5e1f0088fe8f4dbaa2b8
fs/bio: bio_alloc_bioset: pass right object ptr to mempool_free

When freeing from bio pool use right ptr to account for bs->front_pad,
instead of bio ptr,

Signed-off-by: Subhash Peddamallu <subhash.peddamallu@gmail.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
fs/bio.c