diff options
author | phk <phk@FreeBSD.org> | 2003-10-18 14:10:28 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2003-10-18 14:10:28 +0000 |
commit | 4c2cb3f397c38a3130cc662b11c357e626595ce7 (patch) | |
tree | 55e40771eeea4b5804dfc89816d64f51ad7fe0ec /sys/nfsclient | |
parent | d004fc1e31ce0293b51841c13a14ebf6ecc9e6ec (diff) | |
download | FreeBSD-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/nfsclient')
-rw-r--r-- | sys/nfsclient/nfs_vnops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/nfsclient/nfs_vnops.c b/sys/nfsclient/nfs_vnops.c index 71a7e58..981605e 100644 --- a/sys/nfsclient/nfs_vnops.c +++ b/sys/nfsclient/nfs_vnops.c @@ -2975,7 +2975,7 @@ nfs_writebp(struct buf *bp, int force, struct thread *td) if (force) bp->b_flags |= B_WRITEINPROG; BUF_KERNPROC(bp); - bp->b_offset = dbtob(bp->b_blkno); + bp->b_iooffset = dbtob(bp->b_blkno); VOP_STRATEGY(bp->b_vp, bp); if( (oldflags & B_ASYNC) == 0) { |