diff options
author | Christoph Hellwig <hch@lst.de> | 2022-11-15 22:10:47 +0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-11-16 15:19:56 -0700 |
commit | b9a785d2dc6567b2fd9fc60057a6a945a276927a (patch) | |
tree | a981e3808d82c11ebd3c1c691837cd7e5bad2780 /lib | |
parent | 992ec6a92ac315d3301353ff3beb818fcc34e4e4 (diff) | |
download | linux-b9a785d2dc6567b2fd9fc60057a6a945a276927a.tar.bz2 |
dm: cleanup open_table_device
Move all the logic for allocation the table_device and linking it into
the list into the open_table_device. This keeps the code tidy and
ensures that the table_devices only exist in fully initialized state.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Yu Kuai <yukuai3@huawei.com>
Reviewed-by: Mike Snitzer <snitzer@kernel.org>
Link: https://lore.kernel.org/r/20221115141054.1051801-4-yukuai1@huaweicloud.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions