[dm-devel] dm-crypt: fix warning in shutdown path

Jens Axboe axboe at kernel.dk
Sat Jun 2 20:10:23 UTC 2018


On 6/2/18 2:07 PM, Mike Snitzer wrote:
> On Sat, Jun 02 2018 at  4:03pm -0400,
> Jens Axboe <axboe at kernel.dk> wrote:
> 
>> On 6/2/18 11:45 AM, Kent Overstreet wrote:
>>> The counter for the number of allocated pages includes pages in the
>>> mempool's reserve, so checking that the number of allocated pages is 0
>>> needs to happen after we exit the mempool.
>>
>> Looks good, but needs a fixes line. I'll add one.
> 
> Also needs the subject and header updated to reflect that it fixes the
> crash (Krzysztof please verify):
> 
> Reported-by: Krzysztof Kozlowski <krzk at kernel.org>
> Acked-by: Mike Snitzer <snitzer at redhat.com>

Indeed, I have added that. Thanks Mike.

-- 
Jens Axboe




More information about the dm-devel mailing list