Jens Axboe
344e9ffcbd
block: add queue_is_mq() helper
...
Various spots check for q->mq_ops being non-NULL, but provide
a helper to do this instead.
Where the ->mq_ops != NULL check is redundant, remove it.
Since mq == rq-based now that legacy is gone, get rid of the
queue_is_rq_based() and just use queue_is_mq() everywhere.
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2018-11-16 08:34:06 -07:00
..
2018-10-08 08:19:59 -06:00
2018-08-01 15:49:38 -07:00
2018-06-08 11:53:14 -04:00
2017-06-09 09:27:32 -06:00
2018-06-08 11:53:14 -04:00
2017-03-07 11:30:16 -05:00
2017-08-23 12:49:55 -06:00
2018-04-30 11:51:39 -04:00
2017-11-02 11:10:55 +01:00
2018-04-30 15:40:40 -04:00
2017-03-07 13:28:31 -05:00
2016-12-16 00:13:41 +02:00
2018-10-04 15:20:51 -04:00
2017-03-07 13:28:31 -05:00
2017-03-07 13:28:31 -05:00
2018-10-16 14:34:59 -04:00
2017-03-07 13:28:31 -05:00
2018-10-09 13:53:03 -04:00
2018-10-11 11:36:09 -04:00
2018-10-18 12:17:17 -04:00
2018-07-27 15:24:19 -04:00
2018-04-03 15:04:10 -04:00
2015-11-04 21:19:53 -08:00
2016-01-08 20:03:05 -05:00
2018-10-25 11:17:40 -06:00
2018-10-25 16:43:35 -07:00
2018-06-05 08:47:43 -06:00
2018-10-18 11:54:07 -04:00
2018-08-08 09:16:24 -04:00
2018-10-25 11:17:40 -06:00
2018-05-30 15:33:32 -06:00
2015-04-15 12:10:20 -04:00
2018-05-22 23:18:31 -07:00
2016-11-01 09:43:26 -06:00
2018-10-11 11:36:09 -04:00
2016-02-22 22:34:42 -05:00
2018-01-29 13:44:58 -05:00
2018-07-31 17:33:21 -04:00
2018-10-18 15:13:48 -04:00
2018-06-12 18:28:00 -07:00
2017-02-17 00:54:09 -05:00
2018-11-16 08:34:06 -07:00
2018-10-11 11:36:09 -04:00
2018-01-29 13:44:58 -05:00
2018-04-03 15:04:23 -04:00
2016-01-08 20:03:05 -05:00
2018-08-08 20:50:58 -04:00
2018-06-12 16:19:22 -07:00
2017-11-02 11:10:55 +01:00
2018-05-22 23:18:31 -07:00
2018-06-12 16:19:22 -07:00
2018-10-11 11:36:09 -04:00
2018-11-16 08:34:06 -07:00
2018-04-03 15:04:15 -04:00
2018-09-17 11:49:34 -04:00
2016-07-20 12:43:35 -04:00
2018-10-16 14:27:03 -04:00
2018-04-03 15:04:15 -04:00
2018-09-14 14:08:52 +08:00
2018-05-30 15:33:32 -06:00
2018-09-04 11:25:25 -04:00
2018-04-03 15:04:29 -04:00
2018-10-22 10:59:52 -04:00
2017-06-09 09:27:32 -06:00
2018-10-18 15:17:03 -04:00
2018-07-31 17:33:21 -04:00
2018-10-26 12:57:38 -07:00
2017-06-19 11:05:20 -04:00
2018-11-15 12:13:35 -07:00
2018-10-11 11:36:09 -04:00
2018-10-11 11:36:09 -04:00
2018-06-08 11:59:51 -04:00
2018-10-10 11:03:34 -07:00
2018-08-01 15:49:39 -07:00
2018-10-18 09:41:25 -07:00
2018-10-18 09:36:35 -07:00
2018-05-30 15:33:32 -06:00
2018-05-30 15:33:32 -06:00
2017-11-14 16:07:26 -08:00
2018-06-12 16:19:22 -07:00
2018-05-30 15:33:32 -06:00
2018-10-22 09:15:26 -07:00
2018-10-18 09:34:56 -07:00
2018-11-01 19:59:53 -06:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-10-14 17:05:07 -07:00
2018-05-30 15:33:32 -06:00
2018-10-10 10:45:15 -07:00
2018-08-31 17:38:09 -07:00
2018-05-30 15:33:32 -06:00
2018-09-28 11:13:15 -07:00
2018-06-09 12:01:36 -07:00
2018-10-18 09:36:35 -07:00
2018-05-30 15:33:32 -06:00