Blame 0087-99base-init-fix-check-for-in-kernel-polling.patch

Harald Hoyer 8a8033
From 15a5dc5b89facd084eaa400630510ca551b52afd Mon Sep 17 00:00:00 2001
Harald Hoyer 8a8033
From: Harald Hoyer <harald@redhat.com>
Harald Hoyer 8a8033
Date: Thu, 20 Oct 2011 11:13:34 +0200
Harald Hoyer 8a8033
Subject: [PATCH] 99base/init: fix check for in kernel polling
Harald Hoyer 8a8033
Harald Hoyer 8a8033
---
Harald Hoyer 8a8033
 modules.d/99base/init |    2 +-
Harald Hoyer 8a8033
 1 files changed, 1 insertions(+), 1 deletions(-)
Harald Hoyer 8a8033
Harald Hoyer 8a8033
diff --git a/modules.d/99base/init b/modules.d/99base/init
Harald Hoyer 8a8033
index 556ac68..36b2152 100755
Harald Hoyer 8a8033
--- a/modules.d/99base/init
Harald Hoyer 8a8033
+++ b/modules.d/99base/init
Harald Hoyer 8a8033
@@ -243,7 +243,7 @@ while :; do
Harald Hoyer 8a8033
     # no more udev jobs and queues empty.
Harald Hoyer 8a8033
     sleep 0.5
Harald Hoyer 8a8033
 
Harald Hoyer 8a8033
-    if [ ! -e /sys/module/block/parameters/uevent ]; then
Harald Hoyer 8a8033
+    if [ ! -e /sys/module/block/parameters/events_dfl_poll_msecs ]; then
Harald Hoyer 8a8033
         # if the kernel does not support autopolling
Harald Hoyer 8a8033
         # then we have to do a
Harald Hoyer 8a8033
         # dirty hack for some cdrom drives,