Re: [PATCH v2 10/10] block: put_device() if device_add() fails
From
Bart Van Assche <>
Date
Sun, 19 Apr 2020 16:40:45 -0700
On 4/19/20 12:45 PM, Luis Chamberlain wrote: > Through code inspection I've found that we don't put_device() if > device_add() fails, and this must be done to decrement its refcount.