From 112329a22691337068dbb38456fd60db78e9e5ab Mon Sep 17 00:00:00 2001 From: fanyong Date: Mon, 7 Aug 2006 03:42:50 +0000 Subject: [PATCH] Add mkfs functions create_iam and iam_insert for mdt, all the mkfs work can be done by mkfs_lustre, no other mkfs script are needed. Add malloc validity check in function convert_hostnames. --- lustre/utils/mkfs_lustre.c | 1 - 1 file changed, 1 deletion(-) diff --git a/lustre/utils/mkfs_lustre.c b/lustre/utils/mkfs_lustre.c index 6d28548..ec7b2d1 100644 --- a/lustre/utils/mkfs_lustre.c +++ b/lustre/utils/mkfs_lustre.c @@ -1327,7 +1327,6 @@ static int create_iam(enum iam_fmt_t fmt, int keysize, int recsize, goto out; } - /* form leaf */ memset(buf, 0, blocksize); if (fmt == FMT_LFIX) { lfix_leaf(buf, blocksize, keysize, ptrsize, recsize); -- 1.8.3.1