]> git.ipfire.org Git - thirdparty/mdadm.git/commit - mapfile.c
mapfile: validate entries before they are returned.
authorNeilBrown <neilb@suse.de>
Tue, 4 Nov 2008 10:56:42 +0000 (21:56 +1100)
committerNeilBrown <neilb@suse.de>
Tue, 4 Nov 2008 10:56:42 +0000 (21:56 +1100)
commit195254b87a0cb24fc2868d3c54014bf8399222a0
treebfbb677607441d5eba20b32a557c452177e6cd60
parenta7d307da935631f8b9f7bbae16db297d30dc21b9
mapfile:  validate entries before they are returned.

It is possible for the mapfile to become wrong, and that gets
very confusing.  So validate entries before returning them.

Signed-off-by: NeilBrown <neilb@suse.de>
mapfile.c
mdadm.h