Files
linux/drivers
Kent Overstreet d00a11df69 dm-crypt: fix warning in shutdown path
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.

Fixes: 6f1c819c21 ("dm: convert to bioset_init()/mempool_init()")
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Reported-by: Krzysztof Kozlowski <krzk@kernel.org>
Acked-by: Mike Snitzer <snitzer@redhat.com>

Fixed to always just use percpu_counter_sum()

Signed-off-by: Jens Axboe <axboe@kernel.dk>
2018-06-02 20:35:00 -06:00
..
2018-05-29 08:47:40 -06:00
2018-04-19 15:11:50 -07:00
2018-03-27 09:51:22 +02:00
2018-04-27 14:12:43 +02:00
2018-04-12 21:46:10 -04:00
2018-06-02 20:35:00 -06:00
2018-05-29 08:59:21 -06:00
2018-05-11 15:07:58 -06:00
2018-05-02 21:47:35 +02:00
2018-05-15 13:56:16 -06:00
2018-03-29 13:38:10 +03:00