Skip to content

Commit

Permalink
block: fixup bioset_integrity_create() call
Browse files Browse the repository at this point in the history
Missed converting the bioset_integrity_create() bounce bio set
call.

Fixes: 338aa96 ("block: convert bounce, q->bio_split to bioset_init()/mempool_init()")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
  • Loading branch information
axboe committed May 31, 2018
1 parent dad0852 commit 04c4950
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion block/bounce.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 04c4950

Please sign in to comment.