Some more PPC fixes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17714 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
cd6e1e7084
commit
eeb28bb7ee
@ -297,7 +297,7 @@ Journal::Journal(Volume *volume)
|
||||
fVolume(volume),
|
||||
fLock("bfs journal"),
|
||||
fOwner(NULL),
|
||||
fLogSize(volume->Log().length),
|
||||
fLogSize(volume->Log().Length()),
|
||||
fMaxTransactionSize(fLogSize / 4 - 5),
|
||||
fUsed(0),
|
||||
fUnwrittenTransactions(0),
|
||||
|
@ -611,7 +611,7 @@ Volume::Initialize(const char *device, const char *name, uint32 blockSize, uint3
|
||||
// cannot use BlockAllocator::BitmapSize() here
|
||||
fSuperBlock.log_blocks = ToBlockRun(AllocationGroups()
|
||||
* fSuperBlock.BlocksPerAllocationGroup() + 1);
|
||||
fSuperBlock.log_blocks.length = 2048;
|
||||
fSuperBlock.log_blocks.length = HOST_ENDIAN_TO_BFS_INT16(2048);
|
||||
// ToDo: set the log size depending on the disk size
|
||||
fSuperBlock.log_start = fSuperBlock.log_end = HOST_ENDIAN_TO_BFS_INT64(ToBlock(Log()));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user