return -ENOMEM;
        if (bioset_init(&btrfs_clone_bioset, BIO_POOL_SIZE,
                        offsetof(struct btrfs_bio, bio), 0))
-               goto out_free_bioset;
+               goto out;
        if (bioset_init(&btrfs_repair_bioset, BIO_POOL_SIZE,
                        offsetof(struct btrfs_bio, bio),
                        BIOSET_NEED_BVECS))
-               goto out_free_clone_bioset;
+               goto out;
        if (mempool_init_kmalloc_pool(&btrfs_failed_bio_pool, BIO_POOL_SIZE,
                                      sizeof(struct btrfs_failed_bio)))
-               goto out_free_repair_bioset;
+               goto out;
        return 0;
 
-out_free_repair_bioset:
-       bioset_exit(&btrfs_repair_bioset);
-out_free_clone_bioset:
-       bioset_exit(&btrfs_clone_bioset);
-out_free_bioset:
-       bioset_exit(&btrfs_bioset);
+out:
+       btrfs_bioset_exit();
        return -ENOMEM;
 }