From: fanyong Date: Thu, 31 Aug 2006 08:38:39 +0000 (+0000) Subject: For tunefs we needn't other initialization. X-Git-Tag: v1_8_0_110~486^2~1055 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=021e8df5f5b4775a6ca65daea6149927b2866755;p=fs%2Flustre-release.git For tunefs we needn't other initialization. --- diff --git a/lustre/utils/mkfs_lustre.c b/lustre/utils/mkfs_lustre.c index 3811168..656dd01 100644 --- a/lustre/utils/mkfs_lustre.c +++ b/lustre/utils/mkfs_lustre.c @@ -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);