Project

General

Profile

Bug #529 ยป ufsread.c.diff

y7goto, 01/21/2007 05:38 PM

View differences:

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))
    (1-1/1)