summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorJosef Bacik <jbacik@fusionio.com>2013-01-28 09:45:20 -0500
committerJosef Bacik <jbacik@fusionio.com>2013-02-05 16:09:03 -0500
commit222c81dc3874b4fe98371be665d0447a36447653 (patch)
tree534dba9dae10fa3b8cdc4111176b3ec7450e922b /usr
parent1eafa6c73791e4f312324ddad9cbcaf6a1b6052b (diff)
downloadop-kernel-dev-222c81dc3874b4fe98371be665d0447a36447653.zip
op-kernel-dev-222c81dc3874b4fe98371be665d0447a36447653.tar.gz
Btrfs: do not merge logged extents if we've removed them from the tree
You can run into this problem where if somebody is fsyncing and writing out the existing extents you will have removed the extent map from the em tree, but it's still valid for the current fsync so we go ahead and write it. The problem is we unconditionally try to merge it back into the em tree, but if we've removed it from the em tree that will cause use after free problems. Fix this to only merge if we are still a part of the tree. Thanks, Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud