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:
Axel Dörfler 2004-02-09 00:01:11 +00:00
parent 75bf6e0e81
commit 7a791c897c

View File

@ -208,7 +208,7 @@ disk_super_block::Initialize(const char *diskName, off_t numBlocks, uint32 block
break;
ag_shift++;
blocks_per_ag++;
blocks_per_ag *= 2;
} else
break;
}