mirror of
https://review.haiku-os.org/haiku
synced 2025-02-22 21:48:35 +01:00
Also allow a partial allocation group as the last one.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6536 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
9d37202871
commit
16957551b4
@ -49,7 +49,7 @@ main(int argc, char **argv)
|
||||
// files
|
||||
|
||||
while (true) {
|
||||
num_ags = bitmapBlocks / blocks_per_ag;
|
||||
num_ags = (bitmapBlocks + blocks_per_ag - 1) / blocks_per_ag;
|
||||
if (num_ags > kDesiredAllocationGroups) {
|
||||
if (ag_shift == 16)
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user