diff options
author | Christoph Hellwig <hch@lst.de> | 2021-02-02 20:19:29 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-02-08 18:33:16 +0300 |
commit | 7a800a20ae6329e803c5c646b20811a6ae9ca136 (patch) | |
tree | 9c72ec387e817945bde72c5b2e75e633688509c9 /include/linux/bio.h | |
parent | 72b043654ba8b8ce2e0cf3da49247b2db3acb2c1 (diff) | |
download | linux-7a800a20ae6329e803c5c646b20811a6ae9ca136.tar.xz |
block: use bi_max_vecs to find the bvec pool
Instead of encoding of the bvec pool using magic bio flags, just use
a helper to find the pool based on the max_vecs value.
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.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/bio.h b/include/linux/bio.h index 9ceeb8ecdb7f..3cbbaf76906e 100644 --- a/include/linux/bio.h +++ b/include/linux/bio.h @@ -329,7 +329,6 @@ struct bio_integrity_payload { struct bvec_iter bip_iter; - unsigned short bip_slab; /* slab the bip came from */ unsigned short bip_vcnt; /* # of integrity bio_vecs */ unsigned short bip_max_vcnt; /* integrity bio_vec slots */ unsigned short bip_flags; /* control flags */ |