2 * Copyright 2007, Ingo Weinhold, ingo_weinhold@gmx.de.
3 * Distributed under the terms of the MIT License.
6 #include "DiskDeviceJob.h"
8 #include "PartitionReference.h"
12 DiskDeviceJob::DiskDeviceJob(PartitionReference
* partition
,
13 PartitionReference
* child
)
15 fPartition(partition
),
19 fPartition
->AcquireReference();
22 fChild
->AcquireReference();
27 DiskDeviceJob::~DiskDeviceJob()
30 fPartition
->ReleaseReference();
33 fChild
->ReleaseReference();