summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_aio.c
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2003-04-05 23:02:58 +0000
committeralc <alc@FreeBSD.org>2003-04-05 23:02:58 +0000
commit663bf8811178bfbd7ecfe38996f41d78cd24cc05 (patch)
treeb18cc5a9d8c45ff71cb8ef269d177a78273745a2 /sys/kern/vfs_aio.c
parent620ab7fc9b41d5ea1c19897edc93a00eff61b97c (diff)
downloadFreeBSD-src-663bf8811178bfbd7ecfe38996f41d78cd24cc05.zip
FreeBSD-src-663bf8811178bfbd7ecfe38996f41d78cd24cc05.tar.gz
Don't reinitialize fields that are already initialized by getpbuf().
Diffstat (limited to 'sys/kern/vfs_aio.c')
-rw-r--r--sys/kern/vfs_aio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/vfs_aio.c b/sys/kern/vfs_aio.c
index 5b844fd..b9f49e1 100644
--- a/sys/kern/vfs_aio.c
+++ b/sys/kern/vfs_aio.c
@@ -1105,7 +1105,7 @@ aio_qphysio(struct proc *p, struct aiocblist *aiocbe)
*/
bp->b_caller1 = p;
bp->b_dev = vp->v_rdev;
- error = bp->b_error = 0;
+ error = 0;
bp->b_bcount = cb->aio_nbytes;
bp->b_bufsize = cb->aio_nbytes;
OpenPOWER on IntegriCloud