block: Ues bi_pool for bio_integrity_alloc()
authorKent Overstreet <koverstreet@google.com>
Thu, 6 Sep 2012 22:34:56 +0000 (15:34 -0700)
committerJens Axboe <axboe@kernel.dk>
Sun, 9 Sep 2012 08:35:38 +0000 (10:35 +0200)
commit1e2a410ff71504a64d1af2e354287ac51aeac1b0
treee4ae4669d958fc932e5ae67cafd8de860f1f91c9
parent395c72a707d966b36d5a42fe12c3a237ded3a0d9
block: Ues bi_pool for bio_integrity_alloc()

Now that bios keep track of where they were allocated from,
bio_integrity_alloc_bioset() becomes redundant.

Remove bio_integrity_alloc_bioset() and drop bio_set argument from the
related functions and make them use bio->bi_pool.

Signed-off-by: Kent Overstreet <koverstreet@google.com>
CC: Jens Axboe <axboe@kernel.dk>
CC: Martin K. Petersen <martin.petersen@oracle.com>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-core.c
drivers/md/dm.c
drivers/md/md.c
fs/bio-integrity.c
fs/bio.c
include/linux/bio.h