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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user