diff options
author | Naohiro Aota <[email protected]> | 2017-08-25 14:15:14 +0900 |
---|---|---|
committer | David Sterba <[email protected]> | 2017-09-26 14:51:49 +0200 |
commit | bb166d7207432d3c7d10c45dc052f12ba3a2121d (patch) | |
tree | beee530f91be31d9ad02c62224711652ddbb9b49 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | 67c003f90fd68062d92a7ffade36f9b2a9098bd8 (diff) |
btrfs: fix NULL pointer dereference from free_reloc_roots()
__del_reloc_root should be called before freeing up reloc_root->node.
If not, calling __del_reloc_root() dereference reloc_root->node, causing
the system BUG.
Fixes: 6bdf131fac23 ("Btrfs: don't leak reloc root nodes on error")
Cc: <[email protected]> # 4.9
Signed-off-by: Naohiro Aota <[email protected]>
Reviewed-by: Nikolay Borisov <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions