diff options
author | Christoph Hellwig <hch@lst.de> | 2021-02-02 18:19:20 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-02-08 08:33:16 -0700 |
commit | 6ac0b71537e1c14e7532408fe4aae553aa314237 (patch) | |
tree | be1659f296e371b8a26daad731d5bb407ce21733 /block | |
parent | dc0b8a57ad7b05036fcb19a5bf0319467597e67a (diff) | |
download | linux-next-6ac0b71537e1c14e7532408fe4aae553aa314237.tar.gz |
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 'block')
-rw-r--r-- | block/bio.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/block/bio.c b/block/bio.c index cee2d310f02e..2c359dadfdf6 100644 --- a/block/bio.c +++ b/block/bio.c @@ -25,6 +25,12 @@ #include "blk.h" #include "blk-rq-qos.h" +struct biovec_slab { + int nr_vecs; + char *name; + struct kmem_cache *slab; +}; + /* * if you change this list, also change bvec_alloc or things will * break badly! cannot be bigger than what you can fit into an |