diff options
author | Chris Mason <clm@fb.com> | 2015-04-07 04:17:00 +0300 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2015-04-11 00:07:29 +0300 |
commit | cdfb080e1853660952db5e5332727e59427856df (patch) | |
tree | 43c59bd16f29e6e8fb9ff045ce20a16a4275c715 /fs/isofs | |
parent | 1bbc621ef28462456131c035eaeb5567a1a2a2fe (diff) | |
download | linux-cdfb080e1853660952db5e5332727e59427856df.tar.xz |
Btrfs: fix use after free when close_ctree frees the orphan_rsv
Near the end of close_ctree, we're calling btrfs_free_block_rsv
to free up the orphan rsv. The problem is this call updates the
space_info, which has already been freed.
This adds a new __ function that directly calls kfree instead of trying
to update the space infos.
Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'fs/isofs')
0 files changed, 0 insertions, 0 deletions