Added more debugging code. The partition code appears to be using objects that have been destroyed.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23165 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Marcus Overhagen
2007-12-26 22:26:08 +00:00
parent 37502d0f9f
commit 882123356b
2 changed files with 27 additions and 6 deletions
+2 -2
View File
@@ -30,8 +30,8 @@ class Partition : public Node, public partition_data {
status_t Mount(Directory **_fileSystem = NULL, bool isBootDevice = false);
status_t Scan(bool mountFileSystems, bool isBootDevice = false);
void SetParent(Partition *parent) { fParent = parent; }
Partition *Parent() const { return fParent; }
void SetParent(Partition *parent);
Partition *Parent() const;
bool IsFileSystem() const { return fIsFileSystem; }
bool IsPartitioningSystem() const { return fIsPartitioningSystem; }