summaryrefslogtreecommitdiffstats
path: root/include/linux/bio.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2021-10-12 18:18:02 +0200
committerJens Axboe <axboe@kernel.dk>2021-10-18 06:17:35 -0600
commit9774b39175fe3606ce2a836a47134c53b75681c9 (patch)
treef846668e045184db3585b99651b82c0ef400992f /include/linux/bio.h
parent9a6083becbe113ed1e28059ce659dc8ae71b33c3 (diff)
downloadlinux-stable-9774b39175fe3606ce2a836a47134c53b75681c9.tar.gz
linux-stable-9774b39175fe3606ce2a836a47134c53b75681c9.tar.bz2
linux-stable-9774b39175fe3606ce2a836a47134c53b75681c9.zip
block: mark __bio_try_merge_page static
Mark __bio_try_merge_page static and move it up a bit to avoid the need for a forward declaration. Signed-off-by: Christoph Hellwig <hch@lst.de> Link: https://lore.kernel.org/r/20211012161804.991559-7-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/bio.h')
-rw-r--r--include/linux/bio.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/bio.h b/include/linux/bio.h
index 2ffc7c768091..faa0a2fabaf0 100644
--- a/include/linux/bio.h
+++ b/include/linux/bio.h
@@ -425,8 +425,6 @@ extern int bio_add_pc_page(struct request_queue *, struct bio *, struct page *,
unsigned int, unsigned int);
int bio_add_zone_append_page(struct bio *bio, struct page *page,
unsigned int len, unsigned int offset);
-bool __bio_try_merge_page(struct bio *bio, struct page *page,
- unsigned int len, unsigned int off, bool *same_page);
void __bio_add_page(struct bio *bio, struct page *page,
unsigned int len, unsigned int off);
int bio_iov_iter_get_pages(struct bio *bio, struct iov_iter *iter);