Whamcloud - gitweb
For tunefs we needn't other initialization.
authorfanyong <fanyong>
Thu, 31 Aug 2006 08:38:39 +0000 (08:38 +0000)
committerfanyong <fanyong>
Thu, 31 Aug 2006 08:38:39 +0000 (08:38 +0000)
lustre/utils/mkfs_lustre.c

index 3811168..656dd01 100644 (file)
@@ -1565,6 +1565,7 @@ int main(int argc, char *argv[])
                 goto out;
         }
 
+#ifndef TUNEFS /* mkfs.lustre */
         if (IS_MDT(ldd)) {
                 ret = mkfs_mdt(&mop);
                 if (ret != 0) {
@@ -1572,6 +1573,7 @@ int main(int argc, char *argv[])
                         goto out;
                 }
         }
+#endif
 
 out:
         loop_cleanup(&mop);