aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/blk_types.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2021-09-20 14:33:28 +0200
committerJens Axboe <axboe@kernel.dk>2021-10-18 06:17:02 -0600
commit24b83deb29b7f06a5573b65f2ce96f5482755d43 (patch)
tree5db4c044cf0981ced588f29c82b66aa495d4c160 /include/linux/blk_types.h
parentblock: move integrity handling out of <linux/blkdev.h> (diff)
downloadlinux-dev-24b83deb29b7f06a5573b65f2ce96f5482755d43.tar.xz
linux-dev-24b83deb29b7f06a5573b65f2ce96f5482755d43.zip
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.h2
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,