From: Liu Bo Date: Mon, 5 Nov 2012 12:42:09 +0000 (+0000) Subject: Btrfs: fix a double free on pending snapshots in error handling X-Git-Tag: v3.8-rc1~71^2~87 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=109f2365f1928af241b2ccbd0f6ba0b93d911288;p=pandora-kernel.git Btrfs: fix a double free on pending snapshots in error handling When creating a snapshot, failing to commit a transaction can end up with aborting the transaction, following by doing a cleanup for it, where we'll free all snapshots pending to disk. So we check it and avoid double free on pending snapshots. Signed-off-by: Liu Bo Signed-off-by: Chris Mason --- Reading git-diff-tree failed