diff options
author | Alan Cox <alc@FreeBSD.org> | 2002-02-12 17:40:41 +0000 |
---|---|---|
committer | Alan Cox <alc@FreeBSD.org> | 2002-02-12 17:40:41 +0000 |
commit | 9fbd7ccf00c9465d63c20139dcd61874aa1e1967 (patch) | |
tree | 9b52bcae9edfc482b90ad919715e9e83e2f02e33 /sys/kern/vfs_aio.c | |
parent | b6024ea8ed29ca5699f7832b725e5a80b3ca56ad (diff) | |
download | src-test2-9fbd7ccf00c9465d63c20139dcd61874aa1e1967.tar.gz src-test2-9fbd7ccf00c9465d63c20139dcd61874aa1e1967.zip |
Notes
Diffstat (limited to 'sys/kern/vfs_aio.c')
-rw-r--r-- | sys/kern/vfs_aio.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/kern/vfs_aio.c b/sys/kern/vfs_aio.c index f5abfd54582a..3acdf2b606c0 100644 --- a/sys/kern/vfs_aio.c +++ b/sys/kern/vfs_aio.c @@ -1054,16 +1054,12 @@ aio_qphysio(struct proc *p, struct aiocblist *aiocbe) struct buf *bp; struct vnode *vp; struct kaioinfo *ki; - struct filedesc *fdp; struct aio_liojob *lj; - int fd; int s; int notify; cb = &aiocbe->uaiocb; - fdp = p->p_fd; - fd = cb->aio_fildes; - fp = fdp->fd_ofiles[fd]; + fp = aiocbe->fd_file; if (fp->f_type != DTYPE_VNODE) return (-1); @@ -1516,7 +1512,6 @@ retryproc: num_aio_resv_start++; if ((error = aio_newproc()) == 0) { num_aio_resv_start--; - td->td_retval[0] = 0; goto retryproc; } num_aio_resv_start--; |