Patch by Bryce Groff: Style cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32093 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
2680698b6d
commit
5e243bb30e
@ -12,7 +12,8 @@
|
|||||||
|
|
||||||
// constructor
|
// constructor
|
||||||
PartitionLocker::PartitionLocker(partition_id partitionID)
|
PartitionLocker::PartitionLocker(partition_id partitionID)
|
||||||
: fDevice(NULL),
|
:
|
||||||
|
fDevice(NULL),
|
||||||
fPartitionID(partitionID)
|
fPartitionID(partitionID)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
@ -42,7 +43,8 @@ PartitionLocker::PartitionId() const
|
|||||||
|
|
||||||
// constructor
|
// constructor
|
||||||
PartitionReadLocker::PartitionReadLocker(partition_id partitionID)
|
PartitionReadLocker::PartitionReadLocker(partition_id partitionID)
|
||||||
: PartitionLocker(partitionID)
|
:
|
||||||
|
PartitionLocker(partitionID)
|
||||||
{
|
{
|
||||||
fDevice = read_lock_disk_device(partitionID);
|
fDevice = read_lock_disk_device(partitionID);
|
||||||
}
|
}
|
||||||
@ -60,7 +62,8 @@ PartitionReadLocker::~PartitionReadLocker()
|
|||||||
|
|
||||||
// constructor
|
// constructor
|
||||||
PartitionWriteLocker::PartitionWriteLocker(partition_id partitionID)
|
PartitionWriteLocker::PartitionWriteLocker(partition_id partitionID)
|
||||||
: PartitionLocker(partitionID)
|
:
|
||||||
|
PartitionLocker(partitionID)
|
||||||
{
|
{
|
||||||
fDevice = write_lock_disk_device(partitionID);
|
fDevice = write_lock_disk_device(partitionID);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user