diff options
author | Mike Snitzer <[email protected]> | 2015-10-22 10:56:40 -0400 |
---|---|---|
committer | Mike Snitzer <[email protected]> | 2015-10-23 14:02:55 -0400 |
commit | 4dcb8b57df3593dcb20481d9d6cf79d1dc1534be (patch) | |
tree | 7dae30ad56516dc9b137f25484cc2ef91a7ff3fa /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | 2871c69e025e8bc507651d5a9cf81a8a7da9d24b (diff) |
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]
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions