[Ocfs2-tools-commits] manish commits r892 - trunk/mkfs.ocfs2
svn-commits at oss.oracle.com
svn-commits at oss.oracle.com
Mon May 16 18:39:28 CDT 2005
Author: manish
Date: 2005-05-16 18:39:25 -0500 (Mon, 16 May 2005)
New Revision: 892
Modified:
trunk/mkfs.ocfs2/mkfs.c
Log:
Allow filesystems with only 1 node max_nodes, for consistency with the rest
of the stack.
Modified: trunk/mkfs.ocfs2/mkfs.c
===================================================================
--- trunk/mkfs.ocfs2/mkfs.c 2005-05-16 03:26:32 UTC (rev 891)
+++ trunk/mkfs.ocfs2/mkfs.c 2005-05-16 23:39:25 UTC (rev 892)
@@ -507,9 +507,9 @@
"Initial nodes must be no more than %d",
OCFS2_MAX_NODES);
exit(1);
- } else if (initial_nodes < 2) {
+ } else if (initial_nodes < 1) {
com_err(progname, 0,
- "Initial nodes must be at least 2");
+ "Initial nodes must be at least 1");
exit(1);
}
More information about the Ocfs2-tools-commits
mailing list