]> git.ipfire.org Git - thirdparty/mdadm.git/commitdiff
imsm: cleanup ->match_home and comment on return value
authorDan Williams <dan.j.williams@intel.com>
Fri, 7 Nov 2008 22:08:09 +0000 (15:08 -0700)
committerDan Williams <dan.j.williams@intel.com>
Fri, 7 Nov 2008 22:08:09 +0000 (15:08 -0700)
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
super-intel.c

index a2b9bd26911b1fa83c76348657dfbc2bdb399731..7e21c45612c5c1e4edc204ca91507343647e7ddd 100644 (file)
@@ -663,7 +663,14 @@ static void brief_detail_super_imsm(struct supertype *st)
 
 static int match_home_imsm(struct supertype *st, char *homehost)
 {
-       printf("%s\n", __FUNCTION__);
+       /* the imsm metadata format does not specify any host
+        * identification information.  We return -1 since we can never
+        * confirm nor deny whether a given array is "meant" for this
+        * host.  We rely on compare_super and the 'family_num' field to
+        * exclude member disks that do not belong, and we rely on
+        * mdadm.conf to specify the arrays that should be assembled.
+        * Auto-assembly may still pick up "foreign" arrays.
+        */
 
        return -1;
 }