diff options
author | Christoph Hellwig <hch@lst.de> | 2017-10-05 21:22:52 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2017-10-05 23:22:59 +0200 |
commit | 5fdee2127faa77c9c91862ad5e001dfab7013e92 (patch) | |
tree | 6555789579fb2e9b44bed63a6856ed4870bbe4fc /drivers/md/dm-rq.c | |
parent | sysctl: remove /proc/sys/vm/nr_pdflush_threads (diff) | |
download | linux-5fdee2127faa77c9c91862ad5e001dfab7013e92.tar.xz linux-5fdee2127faa77c9c91862ad5e001dfab7013e92.zip |
block: remove QUEUE_FLAG_STACKABLE
We already have a queue_is_rq_based helper to check if a request_queue
is request based, so we can remove the flag for it.
Acked-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/md/dm-rq.c')
-rw-r--r-- | drivers/md/dm-rq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/dm-rq.c b/drivers/md/dm-rq.c index eadfcfd106ff..9d32f25489c2 100644 --- a/drivers/md/dm-rq.c +++ b/drivers/md/dm-rq.c @@ -56,7 +56,7 @@ static unsigned dm_get_blk_mq_queue_depth(void) int dm_request_based(struct mapped_device *md) { - return blk_queue_stackable(md->queue); + return queue_is_rq_based(md->queue); } static void dm_old_start_queue(struct request_queue *q) |