Shadow partition related changes:
* Fixed handling of the deletion (removal) of shadow partitions. Formerly the shadow partition corresponding to the disk device wasn't removed properly. * Added a shadow_id field to the user_partition_data structure which contains the ID of the shadow partition, if it is one. The id field will hold the ID of the physical partition. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3974 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -36,6 +36,8 @@ public:
|
||||
void WriteUnlock();
|
||||
bool IsWriteLocked();
|
||||
|
||||
virtual bool PrepareForRemoval();
|
||||
|
||||
virtual void SetID(partition_id id);
|
||||
|
||||
virtual status_t PublishDevice();
|
||||
@@ -63,6 +65,8 @@ public:
|
||||
disk_device_data *DeviceData();
|
||||
const disk_device_data *DeviceData() const;
|
||||
|
||||
status_t CreateShadowDevice(team_id team);
|
||||
status_t DeleteShadowDevice();
|
||||
void SetShadowOwner(team_id team);
|
||||
team_id ShadowOwner() const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user