summaryrefslogtreecommitdiff
path: root/fs/minix
diff options
context:
space:
mode:
authorJosef Bacik <jbacik@fusionio.com>2013-05-17 18:06:51 (GMT)
committerJosef Bacik <jbacik@fusionio.com>2013-05-18 01:40:38 (GMT)
commit655b09fe540b73edeaabfb4c2d700be51a1f8bce (patch)
treeee5239ddbadcd4aed7266f61653e28e990bb2978 /fs/minix
parent3a6cad9009c85e29e83aafc8ac00b1dd5067fc5f (diff)
downloadlinux-655b09fe540b73edeaabfb4c2d700be51a1f8bce.tar.xz
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 <jbacik@fusionio.com>
Diffstat (limited to 'fs/minix')
0 files changed, 0 insertions, 0 deletions