From: Wang Shilong Date: Sun, 31 Mar 2013 10:36:37 +0000 (+0000) Subject: Btrfs: fix double free in the iterate_extent_inodes() X-Git-Tag: v3.10-rc1~31^2~77 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5c2d867fdcbc11a6862379ebd60b2c1a66e13671;p=pandora-kernel.git Btrfs: fix double free in the iterate_extent_inodes() If btrfs_find_all_roots() fails, 'roots' has been freed or 'roots' fails to allocate. We don't need to free it outside btrfs_find_all_roots() again.Fix it. Signed-off-by: Wang Shilong Signed-off-by: Josef Bacik --- Reading git-diff-tree failed