From 3be7d0090c022ecd9fe06ef77f24c9bccc025636 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Sat, 12 Jul 2008 22:28:04 +0000 Subject: [PATCH] Don't fail, when no userland add-on could be found for partition. We won't be able to edit the partition in any way, but we shouldn't cause the whole BDiskDevice::PrepareModifications() to fail. Should fix bug #2470 -- haven't tested this, though. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26397 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kits/storage/disk_device/PartitionDelegate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kits/storage/disk_device/PartitionDelegate.cpp b/src/kits/storage/disk_device/PartitionDelegate.cpp index 32ebf68b7c..bb71d5e5aa 100644 --- a/src/kits/storage/disk_device/PartitionDelegate.cpp +++ b/src/kits/storage/disk_device/PartitionDelegate.cpp @@ -71,7 +71,7 @@ BPartition::Delegate::InitAfterHierarchy() if (!addOn) { TRACE("BPartition::Delegate::InitAfterHierarchy(): add-on for disk " "system \"%s\" not found\n", fMutablePartition.ContentType()); - return B_ENTRY_NOT_FOUND; + return B_OK; } BPartitionHandle* handle;