On Tue, Nov 15 2022 at  9:10P -0500,
Yu Kuai <[email protected]> wrote:

> From: Christoph Hellwig <[email protected]>
> 
> free_table_devices just warns and frees all table_device structures when
> the target removal did not remove them.  This should never happen, but
> if it did, just freeing the structure without deleting them from the
> list or cleaning up the resources would not help at all.  So just WARN on
> a non-empty list instead.
> 
> Signed-off-by: Christoph Hellwig <[email protected]>
> Signed-off-by: Yu Kuai <[email protected]>

Reviewed-by: Mike Snitzer <[email protected]>

--
dm-devel mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/dm-devel

Reply via email to