null_blk: fixup ->report_zones() for !CONFIG_BLK_DEV_ZONED
authorJens Axboe <axboe@kernel.dk>
Fri, 12 Jul 2019 15:09:57 +0000 (09:09 -0600)
committerJens Axboe <axboe@kernel.dk>
Fri, 12 Jul 2019 15:09:57 +0000 (09:09 -0600)
commite347946439ed70e3af0d0c330b36d5648e71727b
tree7f4bb8b058167191352dcf2eebd01b5c147a3259
parent26202928fafad8bda8b478edb7e62c885be623d7
null_blk: fixup ->report_zones() for !CONFIG_BLK_DEV_ZONED

A previous commit changed the prototype, but didn't adjust the function
for when zoned device support is disabled. Fix it up.

Fixes: bd976e527259 ("block: Kill gfp_t argument of blkdev_report_zones()")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/null_blk.h