Move recently merged /sys/dev/ lookup into stat2devnum.
authorNeilBrown <neilb@suse.de>
Mon, 3 Nov 2008 23:35:08 +0000 (10:35 +1100)
committerNeilBrown <neilb@suse.de>
Mon, 3 Nov 2008 23:35:08 +0000 (10:35 +1100)
commitd7ab966bb82d1dfe5d532ae7bcbe233e906628ae
tree1a81a108976620404f27727ea469d28468333f49
parent5c8d7dc132ff0059a4447f85562dbdcf43d1146e
Move recently merged /sys/dev/ lookup into stat2devnum.

But sysfs_init and stat2devnum try to convert stat information
into an md devnum.  Combine all the value of both pieces of code
into stat2devnum and have sysfs_init call that.

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