diff --git a/include/linux/blk-mq.h b/include/linux/blk-mq.h index a9764cbf7f8d..da9c4e5fb78e 100644 --- a/include/linux/blk-mq.h +++ b/include/linux/blk-mq.h @@ -173,23 +173,19 @@ struct request { /* - * Three pointers are available for the IO schedulers, if they need - * more they have to dynamically allocate it. Flush requests are - * never put on the IO scheduler. So let the flush fields share - * space with the elevator data. + * Three pointers are available for IO schedulers. If they need + * more private data they have to allocate it dynamically. */ - union { - struct { - struct io_cq *icq; - void *priv[2]; - } elv; + struct { + struct io_cq *icq; + void *priv[2]; + } elv; - struct { - unsigned int seq; - struct list_head list; - rq_end_io_fn *saved_end_io; - } flush; - }; + struct { + unsigned int seq; + struct list_head list; + rq_end_io_fn *saved_end_io; + } flush; union { struct __call_single_data csd;