NeilBrown wrote: >> diff --git a/mdadm.c b/mdadm.c >> index 3e8c49b..bd9382e 100644 >> --- a/mdadm.c >> +++ b/mdadm.c >> @@ -1097,6 +1097,15 @@ int main(int argc, char *argv[]) >> s.bitmap_file = optarg; >> continue; >> } >> + if (strcmp(optarg, "clustered")== 0) { >> + s.bitmap_file = optarg; >> + /* Set the default number of cluster nodes >> + * to 4 if not already set by user >> + */ >> + if (c.nodes < 1) >> + c.nodes = 4; >> + continue; >> + } >> > > > Please make sure than mdadm compiles after each patch is applied. > You don't defined that 'nodes' field until a later patch. > > Oops, I will fix it in next version. Thanks, Guoqing > NeilBrown > > -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html