blacklist patch apply fix

The original blacklist patch was applied without conflict.
But in fact there's exactly same context with amerigo's original patch and
it's in wrong place!

Moving it to the right switch branch..

Signed-off-by: Dave Young <dyoung@redhat.com>
Acked-by: Vivek Goyal <vgoyal@redhat.com>
This commit is contained in:
dyoung@redhat.com 2012-06-26 17:21:52 +08:00 committed by Dave Young
parent f9c56b3f6e
commit ea5c605d16

View File

@ -50,9 +50,6 @@ check_size() {
raw)
avail=$(get_raw_size "$2")
;;
blacklist)
add_dracut_arg "--omit-drivers" "$config_val"
;;
*)
return
esac
@ -184,6 +181,9 @@ do
extra_bins)
add_dracut_arg "-I" "$config_val"
;;
blacklist)
add_dracut_arg "--omit-drivers" "$config_val"
;;
*)
if [ -n $(echo $config_opt | grep "^#.*$") ]
then