summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ioctl.c
diff options
context:
space:
mode:
authorChris Mason <clm@fb.com>2015-04-07 03:17:00 +0200
committerChris Mason <clm@fb.com>2015-04-10 23:07:29 +0200
commitcdfb080e1853660952db5e5332727e59427856df (patch)
tree43c59bd16f29e6e8fb9ff045ce20a16a4275c715 /fs/btrfs/ioctl.c
parentBtrfs: allow block group cache writeout outside critical section in commit (diff)
downloadlinux-cdfb080e1853660952db5e5332727e59427856df.tar.xz
linux-cdfb080e1853660952db5e5332727e59427856df.zip
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 '')
0 files changed, 0 insertions, 0 deletions