]> git.ipfire.org Git - thirdparty/mdadm.git/commit
mapinfo: simplify subarray handling.
authorNeilBrown <neilb@suse.de>
Mon, 22 Nov 2010 08:35:25 +0000 (19:35 +1100)
committerNeilBrown <neilb@suse.de>
Mon, 22 Nov 2010 08:35:25 +0000 (19:35 +1100)
commitca145a1e4c9ec2c95f95f6283a3ce290f3d4da0d
treedb8bd6ed83c2ebbebeb65d89acdd5cd233dde032
parent4725bc31fb3d7fc207671e851617852dc8034cd5
mapinfo: simplify subarray handling.

We don't need ->container_dev here, and we will soon be passing
subarray as an explicit arg to load_super.
So simplify extraction of subarray and move the strcpy close to
->load_super.

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