]> git.ipfire.org Git - thirdparty/mdadm.git/commit - Detail.c
Detail: clean up handing of the 'info' we load from superblock.
authorNeilBrown <neilb@suse.de>
Thu, 5 Aug 2010 02:10:57 +0000 (12:10 +1000)
committerNeilBrown <neilb@suse.de>
Thu, 5 Aug 2010 02:10:57 +0000 (12:10 +1000)
commit9aaada0530396078063b17d138beb74fcbcfeebc
tree69910904f9112d2864b54bd744d39b8c0bf8e2ba
parentc61c4dd01df75d3a56809db19ec827203505830b
Detail: clean up handing of the 'info' we load from superblock.

The loop for loading it was hard to follow, so restructure that
and avoid a theoretical use-before-set error.

Also there was a second 'info' structure which hid the first and was
pointless.

Signed-off-by: NeilBrown <neilb@suse.de>
Detail.c