]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
block: unexport various bio mapping helpers
authorChristoph Hellwig <hch@lst.de>
Tue, 19 Jul 2016 09:31:54 +0000 (11:31 +0200)
committerJens Axboe <axboe@fb.com>
Wed, 20 Jul 2016 23:38:37 +0000 (17:38 -0600)
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>
block/bio.c

index 882b50ae3ad6259057970b50d2793132d83d229b..54ee3846c3a5e045b4f4578a11a1972f17336f6a 100644 (file)
@@ -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
@@ -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)
 {
@@ -1542,7 +1540,6 @@ cleanup:
        bio_put(bio);
        return ERR_PTR(-ENOMEM);
 }
-EXPORT_SYMBOL(bio_copy_kern);
 
 /*
  * bio_set_pages_dirty() and bio_check_pages_dirty() are support functions