Browse Source

db_flatstore: skip child init for proc init rank

Daniel-Constantin Mierla 14 years ago
parent
commit
ef2906d503
1 changed files with 3 additions and 0 deletions
  1. 3 0
      modules/db_flatstore/flatstore_mod.c

+ 3 - 0
modules/db_flatstore/flatstore_mod.c

@@ -192,6 +192,9 @@ static int child_init(int rank)
 	char* tmp;
 	unsigned int v;
 
+	if(rank==PROC_INIT)
+		return 0;
+
 	km_child_init(rank);
 
 	if (rank <= 0) {