]> git.ipfire.org Git - thirdparty/mdadm.git/commit - super-ddf.c
DDF: add sanity checks in compare_super_ddf
authormwilck@arcor.de <mwilck@arcor.de>
Fri, 1 Mar 2013 22:28:31 +0000 (23:28 +0100)
committerNeilBrown <neilb@suse.de>
Mon, 4 Mar 2013 05:14:17 +0000 (16:14 +1100)
commit2d210697649c51101f1bbf733b2b6b9e8bc3f551
tree91e38f06e02413492a4ddc9c117c08efa49e435a
parente3c2a365e9489ad0fa32393e534368486f335b60
DDF: add sanity checks in compare_super_ddf

Besides container GUID, also check seqnum, physical and virtual
disk numbers, and check match between local and global sections.

Signed-off-by: Martin Wilck <mwilck@arcor.de>
Signed-off-by: NeilBrown <neilb@suse.de>
super-ddf.c