Files
i2som-imx-linux/drivers/md
Joe Thornber 38c7d77700 dm cache: fix leaking of deferred bio prison cells
commit 9153df7405 upstream.

There were two cases where dm_cell_visit_release() was being called,
which removes the cell from the prison's rbtree, but the callers didn't
also return the cell to the mempool.  Fix this by having them call
free_prison_cell().

This leak manifested as the 'kmalloc-96' slab growing until OOM.

Fixes: 651f5fa2a3 ("dm cache: defer whole cells")
Signed-off-by: Joe Thornber <ejt@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-09-21 10:10:59 -07:00
..
2015-07-27 07:58:16 -04:00
2015-08-03 14:56:02 +10:00