Files
i2som-imx-linux/drivers/md/persistent-data
Mike Snitzer d6671b052b dm btree: fix leak of bufio-backed block in btree_split_sibling error path
commit 30ce6e1cc5 upstream.

The block allocated at the start of btree_split_sibling() is never
released if later insert_at() fails.

Fix this by releasing the previously allocated bufio block using
unlock_block().

Reported-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-02-19 14:22:37 -08:00
..