blocks_per_ag has to be doubled in each iteration (was messing up the
initialization of bigger volumes). git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6533 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -208,7 +208,7 @@ disk_super_block::Initialize(const char *diskName, off_t numBlocks, uint32 block
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
ag_shift++;
|
ag_shift++;
|
||||||
blocks_per_ag++;
|
blocks_per_ag *= 2;
|
||||||
} else
|
} else
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user