diff options
author | Christoph Hellwig <hch@lst.de> | 2021-09-20 15:33:28 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-10-18 15:17:02 +0300 |
commit | 24b83deb29b7f06a5573b65f2ce96f5482755d43 (patch) | |
tree | 5db4c044cf0981ced588f29c82b66aa495d4c160 /include/linux/blk_types.h | |
parent | fe45e630a1035aea94c29016f2598bbde149bbe3 (diff) | |
download | linux-24b83deb29b7f06a5573b65f2ce96f5482755d43.tar.xz |
block: move struct request to blk-mq.h
struct request is only used by blk-mq drivers, so move it and all
related declarations to blk-mq.h.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Link: https://lore.kernel.org/r/20210920123328.1399408-18-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/blk_types.h')
-rw-r--r-- | include/linux/blk_types.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/blk_types.h b/include/linux/blk_types.h index be622b5a21ed..3b967053e9f5 100644 --- a/include/linux/blk_types.h +++ b/include/linux/blk_types.h @@ -431,8 +431,6 @@ enum stat_group { #define bio_op(bio) \ ((bio)->bi_opf & REQ_OP_MASK) -#define req_op(req) \ - ((req)->cmd_flags & REQ_OP_MASK) /* obsolete, don't use in new code */ static inline void bio_set_op_attrs(struct bio *bio, unsigned op, |