From 021e8df5f5b4775a6ca65daea6149927b2866755 Mon Sep 17 00:00:00 2001 From: fanyong Date: Thu, 31 Aug 2006 08:38:39 +0000 Subject: [PATCH] For tunefs we needn't other initialization. --- lustre/utils/mkfs_lustre.c | 2 ++ 1 file changed, 2 insertions(+) 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); -- 1.8.3.1