ce5ec2f storage: gluster: Fix crash when initialization of storage backend fails

Authored and Committed by Peter Krempa 10 years ago
    storage: gluster: Fix crash when initialization of storage backend fails
    
    The libgfapi function glfs_fini doesn't tolerate NULL pointers. Add a
    check on the error paths as it's possible to crash libvirtd if the
    gluster volume can't be initialized.