diff options
author | Christoph Hellwig <hch@lst.de> | 2016-07-19 05:31:54 -0400 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2016-07-20 19:38:37 -0400 |
commit | f9cc4472c963e64493261d834155974c48c0ff88 (patch) | |
tree | 26abf01e28c756443c67b22bcf67efbbded7d458 /block | |
parent | 4613c5f1df92f3cb5a8f89c7dfefc37402c16bd8 (diff) |
block: unexport various bio mapping helpers
They are unused and potential new users really should use the
blk_rq_map* versions.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block')
-rw-r--r-- | block/bio.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/block/bio.c b/block/bio.c index 882b50ae3ad6..54ee3846c3a5 100644 --- a/block/bio.c +++ b/block/bio.c | |||
@@ -1101,7 +1101,6 @@ int bio_uncopy_user(struct bio *bio) | |||
1101 | bio_put(bio); | 1101 | bio_put(bio); |
1102 | return ret; | 1102 | return ret; |
1103 | } | 1103 | } |
1104 | EXPORT_SYMBOL(bio_uncopy_user); | ||
1105 | 1104 | ||
1106 | /** | 1105 | /** |
1107 | * bio_copy_user_iov - copy user data to bio | 1106 | * bio_copy_user_iov - copy user data to bio |
@@ -1396,7 +1395,6 @@ void bio_unmap_user(struct bio *bio) | |||
1396 | __bio_unmap_user(bio); | 1395 | __bio_unmap_user(bio); |
1397 | bio_put(bio); | 1396 | bio_put(bio); |
1398 | } | 1397 | } |
1399 | EXPORT_SYMBOL(bio_unmap_user); | ||
1400 | 1398 | ||
1401 | static void bio_map_kern_endio(struct bio *bio) | 1399 | static void bio_map_kern_endio(struct bio *bio) |
1402 | { | 1400 | { |
@@ -1542,7 +1540,6 @@ cleanup: | |||
1542 | bio_put(bio); | 1540 | bio_put(bio); |
1543 | return ERR_PTR(-ENOMEM); | 1541 | return ERR_PTR(-ENOMEM); |
1544 | } | 1542 | } |
1545 | EXPORT_SYMBOL(bio_copy_kern); | ||
1546 | 1543 | ||
1547 | /* | 1544 | /* |
1548 | * bio_set_pages_dirty() and bio_check_pages_dirty() are support functions | 1545 | * bio_set_pages_dirty() and bio_check_pages_dirty() are support functions |