Whamcloud - gitweb
LU-8297 obd: release MGC device if connect fails
[fs/lustre-release.git] / lustre / obdclass / obd_mount.c
index 3aa9d28..3908e1e 100644 (file)
@@ -1421,7 +1421,7 @@ static int lustre_fill_super(struct super_block *sb, void *data, int silent)
                } else {
                        rc = lustre_start_mgc(sb);
                        if (rc) {
-                               lustre_put_lsi(sb);
+                               lustre_common_put_super(sb);
                                GOTO(out, rc);
                        }
                        /* Connect and start */