]> git.ipfire.org Git - thirdparty/mdadm.git/commit
Factor out path_policy functon.
authorNeilBrown <neilb@suse.de>
Thu, 2 Sep 2010 00:04:26 +0000 (10:04 +1000)
committerNeilBrown <neilb@suse.de>
Mon, 6 Sep 2010 01:26:28 +0000 (11:26 +1000)
commit73c9c47c70e52e4018f0adbaee136ec0d505382b
tree80cf6e99ba5f6b5e26d47bacc7eb888d5d9275db
parent56e8be854ad5dfdf548941125cf07363a2e76776
Factor out path_policy functon.

Allow disk-policy to be computed given the path and
disk type explicitly.  This can be used when hunting through
/dev/disk/by-path for something interesting.

Signed-off-by: NeilBrown <neilb@suse.de>
mdadm.h
policy.c