Blame SOURCES/0021-btrfs-use-inst_hook-to-install-the-timeout-hook.patch

712866
From 6ea78f9f4eb405e6743e8be67836f9134d11e77b Mon Sep 17 00:00:00 2001
712866
From: Harald Hoyer <harald@redhat.com>
712866
Date: Mon, 7 Oct 2013 15:06:50 +0200
712866
Subject: [PATCH] btrfs: use inst_hook to install the timeout hook
712866
712866
---
712866
 modules.d/90btrfs/module-setup.sh | 3 +--
712866
 1 file changed, 1 insertion(+), 2 deletions(-)
712866
712866
diff --git a/modules.d/90btrfs/module-setup.sh b/modules.d/90btrfs/module-setup.sh
5c6c2a
index 638a0505..a2805946 100755
712866
--- a/modules.d/90btrfs/module-setup.sh
712866
+++ b/modules.d/90btrfs/module-setup.sh
712866
@@ -39,8 +39,7 @@ install() {
712866
     fi
712866
 
712866
     if ! dracut_module_included "systemd"; then
712866
-        inst_script "$moddir/btrfs_timeout.sh" \
712866
-            /usr/lib/dracut/hooks/initqueue/timeout/btrfs_timeout.sh
712866
+        inst_hook initqueue/timeout 10 "$moddir/btrfs_timeout.sh"
712866
     fi
712866
 
712866
     inst_multiple -o btrfsck btrfs-zero-log