OSDN Git Service

block: Inline blk_queue_nr_zones()
authorBart Van Assche <bart.vanassche@wdc.com>
Fri, 15 Jun 2018 21:55:20 +0000 (14:55 -0700)
committerJens Axboe <axboe@kernel.dk>
Mon, 9 Jul 2018 15:07:52 +0000 (09:07 -0600)
commit7c8542b7982264226cf94102950343185869b584
tree12082f9bef56ec3474f1cf89d10250aac00189d8
parent6b1d83d274486615cc341e410467a98fd9c27c0a
block: Inline blk_queue_nr_zones()

Since the implementation of blk_queue_nr_zones() is trivial and since
it only has a single caller, inline this function.

Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Reviewed-by: Damien Le Moal <damien.lemoal@wdc.com>
Cc: Matias Bjorling <mb@lightnvm.io>
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq-debugfs.c
include/linux/blkdev.h