diff options
author | Christoph Hellwig <hch@lst.de> | 2018-12-13 21:32:09 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-12-14 14:17:53 +0100 |
commit | 6c210aa596d0ecf6f3eea65c02ac807877385a18 (patch) | |
tree | 8cf0e858d372d8bc9eacd4add36e34856f3a3507 /block/bio.c | |
parent | nvme: fix kernel paging oops (diff) | |
download | linux-6c210aa596d0ecf6f3eea65c02ac807877385a18.tar.xz linux-6c210aa596d0ecf6f3eea65c02ac807877385a18.zip |
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/bio.c')
-rw-r--r-- | block/bio.c | 3 |
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) } 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 |