aboutsummaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorWang Shilong <wangsl.fnst@cn.fujitsu.com>2013-12-26 13:10:50 +0800
committerChris Mason <clm@fb.com>2014-01-28 13:20:13 -0800
commit25e293c2a2916b58cdafb8219c0e93d6277762d7 (patch)
tree1b7863325fbc937cc13c6439824a7d1b80537ea0 /crypto
parentBtrfs: remove unused argument from select_reloc_root() (diff)
downloadlinux-dev-25e293c2a2916b58cdafb8219c0e93d6277762d7.tar.xz
linux-dev-25e293c2a2916b58cdafb8219c0e93d6277762d7.zip
Btrfs: fix an oops when we fail to merge reloc roots
Previously, we will free reloc root memory and then force filesystem to be readonly. The problem is that there may be another thread commiting transaction which will try to access freed reloc root during merging reloc roots process. To keep consistency snapshots shared space, we should allow snapshot finished if possible, so here we don't free reloc root memory. signed-off-by: Wang Shilong <wangsl.fnst@cn.fujitsu.com> Signed-off-by: Josef Bacik <jbacik@fb.com> Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions