aboutsummaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2016-07-19 05:31:54 -0400
committerJens Axboe <axboe@fb.com>2016-07-20 19:38:37 -0400
commitf9cc4472c963e64493261d834155974c48c0ff88 (patch)
tree26abf01e28c756443c67b22bcf67efbbded7d458 /block
parent4613c5f1df92f3cb5a8f89c7dfefc37402c16bd8 (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.c3
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}
1104EXPORT_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}
1399EXPORT_SYMBOL(bio_unmap_user);
1400 1398
1401static void bio_map_kern_endio(struct bio *bio) 1399static 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}
1545EXPORT_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