From 4c2cb3f397c38a3130cc662b11c357e626595ce7 Mon Sep 17 00:00:00 2001 From: phk Date: Sat, 18 Oct 2003 14:10:28 +0000 Subject: DuH! bp->b_iooffset (the spot on the disk), not bp->b_offset (the offset in the file) --- sys/fs/hpfs/hpfs_vnops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/fs/hpfs/hpfs_vnops.c') diff --git a/sys/fs/hpfs/hpfs_vnops.c b/sys/fs/hpfs/hpfs_vnops.c index 7df5b49..86c2d4c 100644 --- a/sys/fs/hpfs/hpfs_vnops.c +++ b/sys/fs/hpfs/hpfs_vnops.c @@ -674,7 +674,7 @@ hpfs_strategy(ap) return (0); } bp->b_dev = hp->h_devvp->v_rdev; - bp->b_offset = dbtob(bp->b_blkno); + bp->b_iooffset = dbtob(bp->b_blkno); VOP_SPECSTRATEGY(hp->h_devvp, bp); return (0); } -- cgit v1.1