[dm-devel] dm-thin: Fix deadlock with unknown device id

Mike Snitzer snitzer at redhat.com
Thu Aug 4 15:55:17 UTC 2011


On Thu, Aug 04 2011 at 11:35am -0400,
Mikulas Patocka <mpatocka at redhat.com> wrote:

> dm-thin: Fix deadlock with unknown device id
> 
> If dm-thin device is created with unknown device id, the code calls
> dm_put(pool_md) twice. As a consequence, the reference count underflows
> and causes deadlock on device removal.
> 
> Signed-off-by: Mikulas Patocka <mpatocka at redhat.com>

My fault.  Thanks Mikulas.




More information about the dm-devel mailing list