summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-12-13 15:32:09 -0500
committerJens Axboe <axboe@kernel.dk>2018-12-14 08:17:53 -0500
commit6c210aa596d0ecf6f3eea65c02ac807877385a18 (patch)
tree8cf0e858d372d8bc9eacd4add36e34856f3a3507 /block
parent092ff0520070fad8407b196f3bb6156ce77a6f98 (diff)
block: remove the bio_phys_segments export
Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block')
-rw-r--r--block/bio.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/block/bio.c b/block/bio.c
index 036e3f0cc736..fa1ea2ac66a8 100644
--- a/block/bio.c
+++ b/block/bio.c
@@ -571,14 +571,13 @@ void bio_put(struct bio *bio)
571} 571}
572EXPORT_SYMBOL(bio_put); 572EXPORT_SYMBOL(bio_put);
573 573
574inline int bio_phys_segments(struct request_queue *q, struct bio *bio) 574int bio_phys_segments(struct request_queue *q, struct bio *bio)
575{ 575{
576 if (unlikely(!bio_flagged(bio, BIO_SEG_VALID))) 576 if (unlikely(!bio_flagged(bio, BIO_SEG_VALID)))
577 blk_recount_segments(q, bio); 577 blk_recount_segments(q, bio);
578 578
579 return bio->bi_phys_segments; 579 return bio->bi_phys_segments;
580} 580}
581EXPORT_SYMBOL(bio_phys_segments);
582 581
583/** 582/**
584 * __bio_clone_fast - clone a bio that shares the original bio's biovec 583 * __bio_clone_fast - clone a bio that shares the original bio's biovec