summaryrefslogtreecommitdiffstats
path: root/Kbuild
diff options
context:
space:
mode:
authorDamien Le Moal <damien.lemoal@wdc.com>2020-04-23 05:02:38 +0200
committerJens Axboe <axboe@kernel.dk>2020-04-23 17:35:09 +0200
commitd205bde78fa53e1ce256b1f7f65ede9696d73ee5 (patch)
treeda25bfbabdb51f3c6b6a6fd3d38685f8b02423f5 /Kbuild
parentnull_blk: Fix zoned command handling (diff)
downloadlinux-d205bde78fa53e1ce256b1f7f65ede9696d73ee5.tar.xz
linux-d205bde78fa53e1ce256b1f7f65ede9696d73ee5.zip
null_blk: Cleanup zoned device initialization
Move all zoned mode related code from null_blk_main.c to null_blk_zoned.c, avoiding an ugly #ifdef in the process. Rename null_zone_init() into null_init_zoned_dev(), null_zone_exit() into null_free_zoned_dev() and add the new function null_register_zoned_dev() to finalize the zoned dev setup before add_disk(). Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions