From: Christoph Hellwig Date: Thu, 13 Dec 2018 20:32:09 +0000 (+0100) Subject: block: remove the bio_phys_segments export X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=6c210aa596d0ecf6f3eea65c02ac807877385a18;p=openwrt%2Fstaging%2Fblogic.git block: remove the bio_phys_segments export Signed-off-by: Christoph Hellwig Signed-off-by: Jens Axboe --- 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) } EXPORT_SYMBOL(bio_put); -inline int bio_phys_segments(struct request_queue *q, struct bio *bio) +int bio_phys_segments(struct request_queue *q, struct bio *bio) { if (unlikely(!bio_flagged(bio, BIO_SEG_VALID))) blk_recount_segments(q, bio); return bio->bi_phys_segments; } -EXPORT_SYMBOL(bio_phys_segments); /** * __bio_clone_fast - clone a bio that shares the original bio's biovec