aboutsummaryrefslogtreecommitdiff
path: root/sys/fs/cd9660
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2003-10-18 14:10:28 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2003-10-18 14:10:28 +0000
commit2c18019f141eab7862508c732bed94aa42238813 (patch)
tree55e40771eeea4b5804dfc89816d64f51ad7fe0ec /sys/fs/cd9660
parentcc81271eaac2ee2ce48033902dacc7747b787c5e (diff)
downloadsrc-2c18019f141eab7862508c732bed94aa42238813.tar.gz
src-2c18019f141eab7862508c732bed94aa42238813.zip
DuH!
bp->b_iooffset (the spot on the disk), not bp->b_offset (the offset in the file)
Notes
Notes: svn path=/head/; revision=121205
Diffstat (limited to 'sys/fs/cd9660')
-rw-r--r--sys/fs/cd9660/cd9660_vnops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/cd9660/cd9660_vnops.c b/sys/fs/cd9660/cd9660_vnops.c
index d227e4a9d3dd..2e4eaf293c55 100644
--- a/sys/fs/cd9660/cd9660_vnops.c
+++ b/sys/fs/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);
}