diff options
author | alc <alc@FreeBSD.org> | 2003-04-05 23:02:58 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2003-04-05 23:02:58 +0000 |
commit | 663bf8811178bfbd7ecfe38996f41d78cd24cc05 (patch) | |
tree | b18cc5a9d8c45ff71cb8ef269d177a78273745a2 /sys/kern/vfs_aio.c | |
parent | 620ab7fc9b41d5ea1c19897edc93a00eff61b97c (diff) | |
download | FreeBSD-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.c | 2 |
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; |