On Tue, Nov 15 2022 at 9:10P -0500, Yu Kuai <yukuai1@xxxxxxxxxxxxxxx> wrote: > From: Christoph Hellwig <hch@xxxxxx> > > Take the list unlink and free into close_table_device so that no half > torn down table_devices exist. Also remove the check for a NULL bdev > as that can't happen - open_table_device never adds a table_device to > the list that does not have a valid block_device. > > Signed-off-by: Christoph Hellwig <hch@xxxxxx> > Signed-off-by: Yu Kuai <yukuai3@xxxxxxxxxx> Reviewed-by: Mike Snitzer <snitzer@xxxxxxxxxx> -- dm-devel mailing list dm-devel@xxxxxxxxxx https://listman.redhat.com/mailman/listinfo/dm-devel