for_each_host_dev_and_slaves currently is used in some module check() functions and it's not necessary iterate all slaves. So use check_block_and_slaves instead of check_block_and_slaves_all is fine. Signed-off-by: Dave Young <dyoung@xxxxxxxxxx> --- dracut-functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- dracut.orig/dracut-functions.sh +++ dracut/dracut-functions.sh @@ -468,7 +468,7 @@ for_each_host_dev_and_slaves() local _dev for _dev in ${host_devs[@]}; do [[ -b "$_dev" ]] || continue - check_block_and_slaves_all $_func $(get_maj_min $_dev) && return 0 + check_block_and_slaves $_func $(get_maj_min $_dev) && return 0 done return 1 } -- To unsubscribe from this list: send the line "unsubscribe initramfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html