Skip to content

Commit

Permalink
block: unexport various bio mapping helpers
Browse files Browse the repository at this point in the history
They are unused and potential new users really should use the
blk_rq_map* versions.

Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
  • Loading branch information
Christoph Hellwig authored and axboe committed Jul 20, 2016
1 parent 4613c5f commit f9cc447
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions block/bio.c
Original file line number Diff line number Diff line change
Expand Up @@ -1101,7 +1101,6 @@ int bio_uncopy_user(struct bio *bio)
bio_put(bio);
return ret;
}
EXPORT_SYMBOL(bio_uncopy_user);

/**
* bio_copy_user_iov - copy user data to bio
Expand Down Expand Up @@ -1396,7 +1395,6 @@ void bio_unmap_user(struct bio *bio)
__bio_unmap_user(bio);
bio_put(bio);
}
EXPORT_SYMBOL(bio_unmap_user);

static void bio_map_kern_endio(struct bio *bio)
{
Expand Down Expand Up @@ -1542,7 +1540,6 @@ struct bio *bio_copy_kern(struct request_queue *q, void *data, unsigned int len,
bio_put(bio);
return ERR_PTR(-ENOMEM);
}
EXPORT_SYMBOL(bio_copy_kern);

/*
* bio_set_pages_dirty() and bio_check_pages_dirty() are support functions
Expand Down

0 comments on commit f9cc447

Please sign in to comment.