diff options
author | Josef Bacik <jbacik@fusionio.com> | 2013-05-17 14:06:51 -0400 |
---|---|---|
committer | Josef Bacik <jbacik@fusionio.com> | 2013-05-17 21:40:38 -0400 |
commit | 655b09fe540b73edeaabfb4c2d700be51a1f8bce (patch) | |
tree | ee5239ddbadcd4aed7266f61653e28e990bb2978 /fs/omfs | |
parent | 3a6cad9009c85e29e83aafc8ac00b1dd5067fc5f (diff) | |
download | op-kernel-dev-655b09fe540b73edeaabfb4c2d700be51a1f8bce.zip op-kernel-dev-655b09fe540b73edeaabfb4c2d700be51a1f8bce.tar.gz |
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/omfs')
0 files changed, 0 insertions, 0 deletions