]> git.ipfire.org Git - thirdparty/mdadm.git/commit
Reduce openning of dev in create.
authorNeil Brown <neilb@suse.de>
Thu, 15 May 2008 06:48:08 +0000 (16:48 +1000)
committerNeil Brown <neilb@suse.de>
Thu, 15 May 2008 06:48:08 +0000 (16:48 +1000)
commitb6e63da496546aa7106495ccc61a85a9107f4610
treec62b39de3bab7ff6e33b400abafd57adc3438b45
parent17f25ca6fb71221f4fa7891c0037f88d26dbc67c
Reduce openning of dev in create.

Now that validate_geometry opens and checks the device,
we don't need to do it as much in top level Create.
We only need it to check for old array or filesystem info.
So only open the device at that place.
Create.c