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:
parent
75bf6e0e81
commit
7a791c897c
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user