Partitions do now know whether they have already been published and
avoid attempts to publish a second time. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22198 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -49,6 +49,7 @@ public:
|
||||
virtual status_t Open(int flags, int *fd);
|
||||
virtual status_t PublishDevice();
|
||||
virtual status_t UnpublishDevice();
|
||||
bool IsPublished() const;
|
||||
|
||||
void SetBusy(bool busy);
|
||||
bool IsBusy() const;
|
||||
@@ -234,6 +235,7 @@ protected:
|
||||
uint32 fAlgorithmData;
|
||||
int32 fReferenceCount;
|
||||
bool fObsolete;
|
||||
bool fPublished;
|
||||
static int32 fNextID;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user