]> git.ipfire.org Git - thirdparty/mdadm.git/commitdiff
DDF: remove old and wrong comment about settinig raid_disk.
authorNeilBrown <neilb@suse.de>
Mon, 28 Apr 2014 07:01:04 +0000 (17:01 +1000)
committerNeilBrown <neilb@suse.de>
Wed, 21 May 2014 01:54:48 +0000 (11:54 +1000)
Signed-off-by: NeilBrown <neilb@suse.de>
super-ddf.c

index fb363f5d722b3e8260bbffd795d3155b23880e63..da45be9c1c5ea4cc7086efcff951dda4020b9f1d 100644 (file)
@@ -2020,9 +2020,9 @@ static void getinfo_super_ddf(struct supertype *st, struct mdinfo *info, char *m
                        info->disk.state = 1 << MD_DISK_FAULTY;
 
        } else {
+               /* There should always be a dlist, but just in case...*/
                info->disk.number = -1;
                info->disk.raid_disk = -1;
-//             info->disk.raid_disk = find refnum in the table and use index;
                info->disk.state = (1 << MD_DISK_SYNC) | (1 << MD_DISK_ACTIVE);
        }
        info->events = be32_to_cpu(ddf->active->seq);