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 /block/elevator.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 'block/elevator.c')
-rw-r--r-- | block/elevator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block/elevator.c b/block/elevator.c index 153926a90901..7ae50eb2732b 100644 --- a/block/elevator.c +++ b/block/elevator.c @@ -1118,7 +1118,7 @@ ssize_t elv_iosched_show(struct request_queue *q, char *name) struct elevator_type *__e; int len = 0; - if (!blk_queue_stackable(q)) + if (!queue_is_rq_based(q)) return sprintf(name, "none\n"); if (!q->elevator) |