]> git.ipfire.org Git - thirdparty/mdadm.git/commit - super1.c
Print error message if failing to write super for 1.x metadata
authorJes Sorensen <Jes.Sorensen@redhat.com>
Wed, 22 Feb 2012 21:55:19 +0000 (08:55 +1100)
committerNeilBrown <neilb@suse.de>
Wed, 22 Feb 2012 21:55:19 +0000 (08:55 +1100)
commit4011421332681ba733a2fc90de7ac94da8593418
tree21cf58aaa48bd32b3ac5a90895aa1310ad0d4901
parent9200d418d049aff77b3d0ad8f30f1a16adc56030
Print error message if failing to write super for 1.x metadata

In addition remove attempt to print an error message if
write_init_super() fails, as this is handled in the various
write_init_super() functions. This avoids a segfault on error.

Reported by Jim Meyering in
https://bugzilla.redhat.com/show_bug.cgi?id=795461

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Create.c
super1.c