]> git.ipfire.org Git - thirdparty/mdadm.git/commit
Improve partition table code.
authorNeilBrown <neilb@suse.de>
Mon, 8 Mar 2010 23:57:57 +0000 (10:57 +1100)
committerNeilBrown <neilb@suse.de>
Mon, 8 Mar 2010 23:57:57 +0000 (10:57 +1100)
commit056b331efe5f9c60be11bda315336066b5e30106
tree29d9413aead3b582d9d2340fadf1ac61c915e7f2
parent10adfe9ae766809955099a1f1a4b4340f99936f1
Improve partition table code.

Code to check partition tables used some needless casts
and was broken, using a u8 when a u32 was wanted.

So create structure describing the tables rather than using offset,
and read into those tables instead.

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