diff options
| author | Mike Snitzer <snitzer@redhat.com> | 2015-10-22 10:56:40 -0400 |
|---|---|---|
| committer | Moyster <oysterized@gmail.com> | 2016-08-26 20:46:27 +0200 |
| commit | 9a116c82567d6a1001d23546ffc5fc9589924665 (patch) | |
| tree | 721013ce9e1706f1e7d6ea530ed8a63686e45709 /include/linux/vcodec | |
| parent | 568e6f5bc7577057f6424c351b10b4d24d0a1c47 (diff) | |
dm btree: fix leak of bufio-backed block in btree_split_beneath error path
commit 4dcb8b57df3593dcb20481d9d6cf79d1dc1534be upstream.
btree_split_beneath()'s error path had an outstanding FIXME that speaks
directly to the potential for _not_ cleaning up a previously allocated
bufio-backed block.
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>
Acked-by: Joe Thornber <thornber@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Stefan Guendhoer <stefan@guendhoer.com>
Diffstat (limited to 'include/linux/vcodec')
0 files changed, 0 insertions, 0 deletions
