map_dev: prefer names in /dev/md/
authorNeilBrown <neilb@suse.de>
Mon, 11 May 2009 05:47:10 +0000 (15:47 +1000)
committerNeilBrown <neilb@suse.de>
Mon, 11 May 2009 05:47:10 +0000 (15:47 +1000)
commit70ef16dbcb875ad26f9d026715b6ab6f6bf4f16e
tree4bbbd0d6f9fd43b4f8d4dc0b90d5fbcbc9cbde25
parent67732c393b84d457ebfd2f523e52fac8451b35c8
map_dev: prefer names in /dev/md/

Rather than preferring non-standard names (of which there are
many, like /dev/block/9:1), prefer names in /dev/md/ when finding
the name of an md device.

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