diff options
author | NeilBrown <neilb@suse.de> | 2011-12-20 10:30:34 +1100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2011-12-20 10:30:34 +1100 |
commit | 81a5b4f52f0697f3c494c7ee2723e5f833b9ec51 (patch) | |
tree | 3160324570095e5bbc4fb8beac108e8dddefd18b /mdadm.h | |
parent | 67a2db324f61326157373117c78a8314c7d220e4 (diff) |
Remove update_private
This fields doesn't work any more as ->getinfo_super clears the info
structure at an awkward time. So get rid of it and do it differently.
The issue is that the metadata handler cannot tell if the uuid it has
was randomly generated or explicitly requested, except on the first
call.
And we don't want to accept explicit requests for IMSM.
So when it was auto-generated, make it look distinctive by having the
same int copied in all 4 positions. If someone requests a uuid like
that, I guess they get away with it.
Reported-by: Adam Kwolek <adam.kwolek@intel.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'mdadm.h')
-rw-r--r-- | mdadm.h | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -217,11 +217,6 @@ struct mdinfo { unsigned long cache_size; /* size of raid456 stripe cache*/ int mismatch_cnt; char text_version[50]; - void *update_private; /* for passing metadata-format - * specific update data - * between successive calls to - * update_super() - */ int container_member; /* for assembling external-metatdata arrays * This is to be used internally by metadata |