BlockAllocator::InitializeAndClearBitmap() now also sets the used_blocks
field of the super block correctly. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6399 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
3bb10b9323
commit
11805f2d85
@ -392,6 +392,7 @@ BlockAllocator::InitializeAndClearBitmap(Transaction &transaction)
|
||||
FATAL(("could not allocate reserved space for block bitmap/log!\n"));
|
||||
return B_ERROR;
|
||||
}
|
||||
fVolume->SuperBlock().used_blocks = HOST_ENDIAN_TO_BFS_INT64(reservedBlocks);
|
||||
|
||||
return B_OK;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user