summaryrefslogtreecommitdiff
path: root/fs/iomap/swapfile.c
diff options
context:
space:
mode:
authorDamien Le Moal <damien.lemoal@wdc.com>2020-04-23 06:02:38 +0300
committerJens Axboe <axboe@kernel.dk>2020-04-23 18:35:09 +0300
commitd205bde78fa53e1ce256b1f7f65ede9696d73ee5 (patch)
treeda25bfbabdb51f3c6b6a6fd3d38685f8b02423f5 /fs/iomap/swapfile.c
parent9dd44c7e998e66f749348d07a700034f513ea9ff (diff)
downloadlinux-d205bde78fa53e1ce256b1f7f65ede9696d73ee5.tar.xz
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/iomap/swapfile.c')
0 files changed, 0 insertions, 0 deletions