Re: [PATCH v3 03/10] dm: cleanup open_table_device

From: Mike Snitzer
Date: Wed Nov 16 2022 - 16:20:35 EST


On Tue, Nov 15 2022 at 9:10P -0500,
Yu Kuai <yukuai1@xxxxxxxxxxxxxxx> wrote:

> From: Christoph Hellwig <hch@xxxxxx>
>
> 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@xxxxxx>
> Signed-off-by: Yu Kuai <yukuai3@xxxxxxxxxx>

Reviewed-by: Mike Snitzer <snitzer@xxxxxxxxxx>