summaryrefslogtreecommitdiff
path: root/include/linux/bio.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2021-02-02 18:19:20 +0100
committerJens Axboe <axboe@kernel.dk>2021-02-08 08:33:16 -0700
commit6ac0b71537e1c14e7532408fe4aae553aa314237 (patch)
treebe1659f296e371b8a26daad731d5bb407ce21733 /include/linux/bio.h
parentdc0b8a57ad7b05036fcb19a5bf0319467597e67a (diff)
block: move struct biovec_slab to bio.c
struct biovec_slab is only used inside of bio.c, so move it there. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/bio.h')
-rw-r--r--include/linux/bio.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/bio.h b/include/linux/bio.h
index c74857cf1252..4a84207dd996 100644
--- a/include/linux/bio.h
+++ b/include/linux/bio.h
@@ -720,12 +720,6 @@ struct bio_set {
struct workqueue_struct *rescue_workqueue;
};
-struct biovec_slab {
- int nr_vecs;
- char *name;
- struct kmem_cache *slab;
-};
-
static inline bool bioset_initialized(struct bio_set *bs)
{
return bs->bio_slab != NULL;