From: Josef Bacik Date: Fri, 17 May 2013 18:06:51 +0000 (-0400) Subject: Btrfs: make sure roots are assigned before freeing their nodes X-Git-Tag: v3.10-rc2~7^2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=655b09fe540b73edeaabfb4c2d700be51a1f8bce;p=pandora-kernel.git Btrfs: make sure roots are assigned before freeing their nodes If we fail to load the chunk tree we'll call free_root_pointers, except we may not have assigned the roots for the dev_root/extent_root/csum_root yet, so we could NULL pointer deref at this point. Just add checks to make sure these roots are set to keep us from panicing. Thanks, Signed-off-by: Josef Bacik --- Reading git-diff-tree failed