]> git.ipfire.org Git - thirdparty/mdadm.git/commit
Fix handling for "auto" line in mdadm.conf
authorNeilBrown <neilb@suse.de>
Thu, 6 Oct 2011 02:00:28 +0000 (13:00 +1100)
committerNeilBrown <neilb@suse.de>
Thu, 6 Oct 2011 02:00:28 +0000 (13:00 +1100)
commitb451aa4846c5ccca5447a6b6d45e5623b8c8e961
treec2591dc804162e073764928bfc10500024b5f3f4
parentb303fe21b5ad9a239a2984649446fce060918571
Fix handling for "auto" line in mdadm.conf

Two problems.

1/ pol_merge was ignoring the pol_auto tag so any 'auto' information
   was lost
2/ If a device had not path (e.g. loop devices) or if there were no
   path-based policies, we didn't bother looking for policy at all.
   So path-independant policies were ignored.

Reported-by: Christian Boltz <suse-beta@cboltz.de>
Signed-off-by: NeilBrown <neilb@suse.de>
policy.c