Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dm btree: fix leak of bufio-backed block in btree_split_sibling error…
… path 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> Cc: stable@vger.kernel.org
- Loading branch information