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 7a6c4d50b51c123ed982e852a2c7d594d6b54722..fd31347b783616fc199b920a8ba84081ebc02a02 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);