Blame SOURCES/0001-Revert-better-handling-of-whole-disk-volumes.patch

bf6610
From 1265859914d022b2afb939ea9490bcb162f8730f Mon Sep 17 00:00:00 2001
bf6610
From: Petr Oros <poros@redhat.com>
bf6610
Date: Mon, 8 Aug 2016 10:33:17 +0200
bf6610
Subject: [PATCH] Revert: "better" handling of whole-disk volumes
bf6610
bf6610
Signed-off-by: Petr Oros <poros@redhat.com>
bf6610
---
bf6610
 src/core/partitions.cc | 3 +--
bf6610
 1 file changed, 1 insertion(+), 2 deletions(-)
bf6610
bf6610
diff --git a/src/core/partitions.cc b/src/core/partitions.cc
bf6610
index 634a8c0..7a90952 100644
bf6610
--- a/src/core/partitions.cc
bf6610
+++ b/src/core/partitions.cc
99c779
@@ -1392,8 +1392,7 @@ bool scan_partitions(hwNode & n)
bf6610
 
bf6610
   if(!medium->isCapable("partitioned"))
bf6610
   {
bf6610
-    if(scan_volume(*medium, s))	// whole disk volume?
bf6610
-      medium->setClass(hw::volume);
bf6610
+    scan_lvm(*medium, s);
bf6610
   }
bf6610
 
bf6610
   close(fd);
bf6610
-- 
bf6610
2.7.3
bf6610