Use fs->fs_ipg rather than cg->cg_niblk as the latter is only
16-bits and may overflow. Obtained from: Bruce Evans <bde@zeta.org.au>
This commit is contained in:
parent
986dce6321
commit
f285e3269a
@ -206,7 +206,7 @@ pass5()
|
||||
newcg->cg_frotor = cg->cg_frotor;
|
||||
else
|
||||
newcg->cg_frotor = 0;
|
||||
if (cg->cg_irotor < newcg->cg_niblk)
|
||||
if (cg->cg_irotor < fs->fs_ipg)
|
||||
newcg->cg_irotor = cg->cg_irotor;
|
||||
else
|
||||
newcg->cg_irotor = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user