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_beneath error…
… path 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 <[email protected]> Signed-off-by: Mike Snitzer <[email protected]> Acked-by: Joe Thornber <[email protected]> Cc: [email protected]
- Loading branch information