diff options
author | Damien Le Moal <damien.lemoal@wdc.com> | 2020-04-23 12:02:38 +0900 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-04-23 09:35:09 -0600 |
commit | d205bde78fa53e1ce256b1f7f65ede9696d73ee5 (patch) | |
tree | da25bfbabdb51f3c6b6a6fd3d38685f8b02423f5 /fs/btrfs/delayed-ref.h | |
parent | 9dd44c7e998e66f749348d07a700034f513ea9ff (diff) |
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 'fs/btrfs/delayed-ref.h')
0 files changed, 0 insertions, 0 deletions