Whamcloud - gitweb
eliminate unused mds obd reference.
authorhuanghua <huanghua>
Thu, 7 Sep 2006 07:24:43 +0000 (07:24 +0000)
committerhuanghua <huanghua>
Thu, 7 Sep 2006 07:24:43 +0000 (07:24 +0000)
lustre/obdclass/obd_mount.c

index 20dd8c6..7779095 100644 (file)
@@ -994,7 +994,6 @@ static int server_start_targets(struct super_block *sb, struct vfsmount *mnt)
                         }
                 }
         }
-#endif
         /* If we're an MDT, make sure the global MDS is running */
         if (lsi->lsi_ldd->ldd_flags & LDD_F_SV_TYPE_MDT) {
                 /* make sure (what will be called) the MDS is started */
@@ -1011,6 +1010,7 @@ static int server_start_targets(struct super_block *sb, struct vfsmount *mnt)
                         }
                 }
         }
+#endif
 
         /* If we're an OST, make sure the global OSS is running */
         if (lsi->lsi_ldd->ldd_flags & LDD_F_SV_TYPE_OST) {