diff options
author | NeilBrown <neilb@suse.de> | 2014-04-28 09:01:04 +0200 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2014-05-21 03:54:48 +0200 |
commit | 25532b88a0ee9fa051c9ebace59cd79f9adae328 (patch) | |
tree | c82cdb1375c2c0ae178f76ac1b0a9afe1fcda3f1 /super-ddf.c | |
parent | DDF: provide simple detail_super() implementation. (diff) | |
download | mdadm-25532b88a0ee9fa051c9ebace59cd79f9adae328.tar.xz mdadm-25532b88a0ee9fa051c9ebace59cd79f9adae328.zip |
DDF: remove old and wrong comment about settinig raid_disk.
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'super-ddf.c')
-rw-r--r-- | super-ddf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/super-ddf.c b/super-ddf.c index fb363f5d..da45be9c 100644 --- a/super-ddf.c +++ b/super-ddf.c @@ -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); |