summaryrefslogtreecommitdiffstats
path: root/sys/fs/hpfs/hpfs_vnops.c
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/fs/hpfs/hpfs_vnops.c
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/fs/hpfs/hpfs_vnops.c')
-rw-r--r--sys/fs/hpfs/hpfs_vnops.c2
1 files changed, 1 insertions, 1 deletions
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);
}
OpenPOWER on IntegriCloud