diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h index 5ec1f14f78cc..3fd1e6f65a64 100644 --- a/include/linux/blkdev.h +++ b/include/linux/blkdev.h @@ -162,23 +162,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; struct gendisk *rq_disk; struct block_device *part;