Bug #529 ยป ufsread.c.diff
ufsread.c 21 Jan 2007 17:07:08 -0000 | ||
---|---|---|
} else if (lbn < NDADDR + NINDIR(fs)) {
|
||
n = INDIRPERVBLK(fs);
|
||
addr = DIP(di_ib[0]);
|
||
u = (u_int)(lbn - NDADDR) / (n * DBPERVBLK);
|
||
u = (u_int)(lbn - NDADDR) / n * DBPERVBLK;
|
||
vbaddr = fsbtodb(fs, addr) + u;
|
||
if (indmap != vbaddr) {
|
||
if (dskread(indbuf, vbaddr, DBPERVBLK))
|