From d5157b61d2a9fc06743a78f407fba3866b4f0abe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Mon, 30 Jun 2008 10:41:55 +0000 Subject: [PATCH] * Reverted r26128 again; it should not be necessary after r26177 anymore. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26178 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/add-ons/kernel/partitioning_systems/intel/intel.cpp | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/add-ons/kernel/partitioning_systems/intel/intel.cpp b/src/add-ons/kernel/partitioning_systems/intel/intel.cpp index 6c2d33e935..9e1c8f8497 100644 --- a/src/add-ons/kernel/partitioning_systems/intel/intel.cpp +++ b/src/add-ons/kernel/partitioning_systems/intel/intel.cpp @@ -164,12 +164,9 @@ pm_identify_partition(int fd, partition_data *partition, void **cookie) if (hasChildren) return 0.4; - // No children but a parent. Extremely unlikely that this is desired. - // Just indicate that we don't support this partition, it's probably a - // filesystem and not a partition at all. - *cookie = NULL; - delete map; - return -1; + // No children. Extremely unlikely, that this is desired. But if no one + // else claims the partition, we take it anyway. + return 0.1; } // pm_scan_partition