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:
Axel Dörfler 2004-02-09 00:12:04 +00:00
parent 9d37202871
commit 16957551b4

View File

@ -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;