[dracut/f20] lvm: fix the fix

Harald Hoyer harald at fedoraproject.org
Fri Dec 13 10:15:27 UTC 2013


commit 1f5ee711197e31b5acae61b69c1b2a0528b94398
Author: Harald Hoyer <harald at redhat.com>
Date:   Fri Dec 13 11:15:11 2013 +0100

    lvm: fix the fix

 lvm-fixed-lvm-thin-check.patch |   13 ++++++++-----
 1 files changed, 8 insertions(+), 5 deletions(-)
---
diff --git a/lvm-fixed-lvm-thin-check.patch b/lvm-fixed-lvm-thin-check.patch
index c7f8f7a..2027b8c 100644
--- a/lvm-fixed-lvm-thin-check.patch
+++ b/lvm-fixed-lvm-thin-check.patch
@@ -1,17 +1,17 @@
-From 920384c4128691941f9bd8819eae2b4f334aa7b1 Mon Sep 17 00:00:00 2001
+From 831625d29ed6f174b276cd738e34bfebc5052e1c Mon Sep 17 00:00:00 2001
 From: Harald Hoyer <harald at redhat.com>
 Date: Fri, 13 Dec 2013 11:05:39 +0100
 Subject: [PATCH] lvm: fixed lvm thin check
 
 ---
- modules.d/90lvm/module-setup.sh | 7 ++++++-
- 1 file changed, 6 insertions(+), 1 deletion(-)
+ modules.d/90lvm/module-setup.sh | 9 ++++++++-
+ 1 file changed, 8 insertions(+), 1 deletion(-)
 
 diff --git a/modules.d/90lvm/module-setup.sh b/modules.d/90lvm/module-setup.sh
-index 1206310..c62dc90 100755
+index 1206310..a64e5d6 100755
 --- a/modules.d/90lvm/module-setup.sh
 +++ b/modules.d/90lvm/module-setup.sh
-@@ -99,8 +99,13 @@ install() {
+@@ -99,9 +99,16 @@ install() {
  
      if [[ $hostonly ]] && type -P lvs &>/dev/null; then
          for dev in "${!host_fs_types[@]}"; do
@@ -25,7 +25,10 @@ index 1206310..c62dc90 100755
 +                break
              fi
          done
++    else
++        inst_multiple -o thin_dump thin_restore thin_check thin_repair
      fi
+ }
 -- 
 1.8.4.2
 


More information about the scm-commits mailing list