]> git.ipfire.org Git - thirdparty/mdadm.git/commit - config.c
config: enhance name matching in conf_get_ident.
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)
commit5c4c9ab16d7db67c660570c354e9e75fb6e20ecc
tree29159055b49bdff9d518e94952912d046003196d
parent0ac91628b93b31636979b637c1ac7258064dea4e
config: enhance name matching in conf_get_ident.

Use when searching mdadm.conf for a device, use more flexible
matching that e.g. ignores leading /dev/md/ or /dev/

As mdadm now accepts both "/dev/md/foo" and "foo" is many places as
equivalent, they should compare as the same.

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