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/gnu/fs/ext2fs/ext2_inode.c | |
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/gnu/fs/ext2fs/ext2_inode.c')
-rw-r--r-- | sys/gnu/fs/ext2fs/ext2_inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/gnu/fs/ext2fs/ext2_inode.c b/sys/gnu/fs/ext2fs/ext2_inode.c index 8bd0b39..38c9672 100644 --- a/sys/gnu/fs/ext2fs/ext2_inode.c +++ b/sys/gnu/fs/ext2fs/ext2_inode.c @@ -404,7 +404,7 @@ ext2_indirtrunc(ip, lbn, dbn, lastbn, level, countp) panic("ext2_indirtrunc: bad buffer size"); bp->b_blkno = dbn; vfs_busy_pages(bp, 0); - bp->b_offset = dbtob(bp->b_blkno); + bp->b_iooffset = dbtob(bp->b_blkno); VOP_STRATEGY(vp, bp); error = bufwait(bp); } |