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/udf/udf_vnops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/fs/udf') diff --git a/sys/fs/udf/udf_vnops.c b/sys/fs/udf/udf_vnops.c index 1a2ae43..6c22663 100644 --- a/sys/fs/udf/udf_vnops.c +++ b/sys/fs/udf/udf_vnops.c @@ -839,7 +839,7 @@ udf_strategy(struct vop_strategy_args *a) } vp = node->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); } -- cgit v1.1