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