]> git.ipfire.org Git - thirdparty/mdadm.git/commit
policy: don't try to get policy when path == NULL.
authorNeilBrown <neilb@suse.de>
Mon, 22 Nov 2010 08:35:25 +0000 (19:35 +1100)
committerNeilBrown <neilb@suse.de>
Mon, 22 Nov 2010 08:35:25 +0000 (19:35 +1100)
commitb9b004ebc7abd5a4d8ddafef1fbf08409f24b330
tree50314f3e1935caf9501ef0c3be71011c8f2f6d96
parent37194990aae3dfdbaae55fb9d2ab491683ade7e1
policy: don't try to get policy when path == NULL.

config_rules_has_path, we fail if path==NULL, so we should when
config_rules doesn't has_path too.

Signed-Off-By: NeilBrown <neilb@suse.de>
policy.c