rc = cifs_fscache_register();
        if (rc)
-               goto out;
+               goto out_clean_proc;
 
        rc = cifs_init_inodecache();
        if (rc)
-               goto out_clean_proc;
+               goto out_unreg_fscache;
 
        rc = cifs_init_mids();
        if (rc)
        return 0;
 
 #ifdef CONFIG_CIFS_UPCALL
- out_unregister_filesystem:
+out_unregister_filesystem:
        unregister_filesystem(&cifs_fs_type);
 #endif
- out_destroy_request_bufs:
+out_destroy_request_bufs:
        cifs_destroy_request_bufs();
- out_destroy_mids:
+out_destroy_mids:
        cifs_destroy_mids();
- out_destroy_inodecache:
+out_destroy_inodecache:
        cifs_destroy_inodecache();
- out_clean_proc:
-       cifs_proc_clean();
+out_unreg_fscache:
        cifs_fscache_unregister();
- out:
+out_clean_proc:
+       cifs_proc_clean();
        return rc;
 }