Unify code into find_free_devnum.
authorNeil Brown <neilb@suse.de>
Mon, 5 May 2008 11:55:36 +0000 (21:55 +1000)
committerNeil Brown <neilb@suse.de>
Mon, 5 May 2008 11:55:36 +0000 (21:55 +1000)
commit63152c1b330f75842644c82d925fa8dcd37fe233
tree67a29eefae0b8b7a76cfb11e286eec1b7877efea
parent5e747af24abc021073d979925628fec28052a731
Unify code into find_free_devnum.

Two places have code to find a free md device number.  Make this
a subroutine.
Incremental.c
mdadm.h
mdopen.c
util.c