diff options
| author | Hidetoshi Shimokawa <simokawa@FreeBSD.org> | 2003-10-21 13:18:19 +0000 |
|---|---|---|
| committer | Hidetoshi Shimokawa <simokawa@FreeBSD.org> | 2003-10-21 13:18:19 +0000 |
| commit | a44ca4f05f59190bb4614bbdf2cae082febf2bdc (patch) | |
| tree | f62c1697e22c375019f44f25de3bed3a341b91aa /sys | |
| parent | 1d2d5501f9e755fd598c07a731a425320d160d8f (diff) | |
Notes
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/kern/vfs_aio.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/kern/vfs_aio.c b/sys/kern/vfs_aio.c index f5dfcfc719887..b746f470cbaf5 100644 --- a/sys/kern/vfs_aio.c +++ b/sys/kern/vfs_aio.c @@ -1106,6 +1106,8 @@ aio_qphysio(struct proc *p, struct aiocblist *aiocbe) bp->b_iodone = aio_physwakeup; bp->b_saveaddr = bp->b_data; bp->b_data = (void *)(uintptr_t)cb->aio_buf; + bp->b_offset = cb->aio_offset; + bp->b_iooffset = cb->aio_offset; bp->b_blkno = btodb(cb->aio_offset); bp->b_iocmd = cb->aio_lio_opcode == LIO_WRITE ? BIO_WRITE : BIO_READ; |
