From: Wang Shilong Date: Thu, 26 Dec 2013 05:10:50 +0000 (+0800) Subject: Btrfs: fix an oops when we fail to merge reloc roots X-Git-Tag: v3.14-rc1~29^2~65 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=25e293c2a2916b58cdafb8219c0e93d6277762d7;p=pandora-kernel.git 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 Signed-off-by: Josef Bacik Signed-off-by: Chris Mason --- Reading git-diff-tree failed