summaryrefslogtreecommitdiffstats
path: root/sys/isofs/cd9660
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-10-18 14:10:28 +0000
committerphk <phk@FreeBSD.org>2003-10-18 14:10:28 +0000
commit4c2cb3f397c38a3130cc662b11c357e626595ce7 (patch)
tree55e40771eeea4b5804dfc89816d64f51ad7fe0ec /sys/isofs/cd9660
parentd004fc1e31ce0293b51841c13a14ebf6ecc9e6ec (diff)
downloadFreeBSD-src-4c2cb3f397c38a3130cc662b11c357e626595ce7.zip
FreeBSD-src-4c2cb3f397c38a3130cc662b11c357e626595ce7.tar.gz
DuH!
bp->b_iooffset (the spot on the disk), not bp->b_offset (the offset in the file)
Diffstat (limited to 'sys/isofs/cd9660')
-rw-r--r--sys/isofs/cd9660/cd9660_vnops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/isofs/cd9660/cd9660_vnops.c b/sys/isofs/cd9660/cd9660_vnops.c
index d227e4a..2e4eaf2 100644
--- a/sys/isofs/cd9660/cd9660_vnops.c
+++ b/sys/isofs/cd9660/cd9660_vnops.c
@@ -737,7 +737,7 @@ cd9660_strategy(ap)
}
vp = ip->i_devvp;
bp->b_dev = vp->v_rdev;
- bp->b_offset = dbtob(bp->b_blkno);
+ bp->b_iooffset = dbtob(bp->b_blkno);
VOP_SPECSTRATEGY(vp, bp);
return (0);
}
OpenPOWER on IntegriCloud