]> git.ipfire.org Git - thirdparty/mdadm.git/commit - Detail.c
Fix bad metadata formatting
authorDoug Ledford <dledford@redhat.com>
Wed, 29 Oct 2008 19:05:35 +0000 (15:05 -0400)
committerNeilBrown <neilb@suse.de>
Wed, 29 Oct 2008 21:53:02 +0000 (08:53 +1100)
commitd7ee65c960fa8a6886df7416307f57545ddc4460
tree996e86fac5fea15cf3e51d5c7f870fcd398451d7
parentb3d3195538e315b3863235731112eee7398d4340
Fix bad metadata formatting

Certain operations (Detail.c mainly) would print out the metadata of
an array in a format that the scan operation in super0.c and super1.c
would later reject as unknown when it was found in the mdadm.conf file.
Use a consistent format, but also modify the super0 and super1 match
methods to accept the other format without complaint.

Signed-off-by: Doug Ledford <dledford@redhat.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Detail.c
super0.c
super1.c