block: fixup bioset_integrity_create() call
authorJens Axboe <axboe@kernel.dk>
Thu, 31 May 2018 00:51:21 +0000 (18:51 -0600)
committerJens Axboe <axboe@kernel.dk>
Thu, 31 May 2018 00:51:21 +0000 (18:51 -0600)
Missed converting the bioset_integrity_create() bounce bio set
call.

Fixes: 338aa96d5661 ("block: convert bounce, q->bio_split to bioset_init()/mempool_init()")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/bounce.c

index 7a6c4d5..fd31347 100644 (file)
@@ -46,7 +46,7 @@ static __init int init_emergency_pool(void)
 
        ret = bioset_init(&bounce_bio_set, BIO_POOL_SIZE, 0, BIOSET_NEED_BVECS);
        BUG_ON(ret);
-       if (bioset_integrity_create(bounce_bio_set, BIO_POOL_SIZE))
+       if (bioset_integrity_create(&bounce_bio_set, BIO_POOL_SIZE))
                BUG_ON(1);
 
        ret = bioset_init(&bounce_bio_split, BIO_POOL_SIZE, 0, 0);