diff options
author | alc <alc@FreeBSD.org> | 2002-10-14 01:21:37 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2002-10-14 01:21:37 +0000 |
commit | d7c3f247294c62400d5e35f7daea1b5540ea92ec (patch) | |
tree | 5f7824750bbff53c505cfd1745c60e42358c57f0 /sys/kern/vfs_aio.c | |
parent | f884e12d212aa6e27d35cc334b1ff002eafcff1f (diff) | |
download | FreeBSD-src-d7c3f247294c62400d5e35f7daea1b5540ea92ec.zip FreeBSD-src-d7c3f247294c62400d5e35f7daea1b5540ea92ec.tar.gz |
Eliminate the unnecessary clearing of flag bits that are already clear
in lio_listio(2).
Diffstat (limited to 'sys/kern/vfs_aio.c')
-rw-r--r-- | sys/kern/vfs_aio.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/kern/vfs_aio.c b/sys/kern/vfs_aio.c index d4230cb..f2398cf 100644 --- a/sys/kern/vfs_aio.c +++ b/sys/kern/vfs_aio.c @@ -1966,10 +1966,7 @@ lio_listio(struct thread *td, struct lio_listio_args *uap) return EINVAL; } lj->lioj_flags |= LIOJ_SIGNAL; - lj->lioj_flags &= ~LIOJ_SIGNAL_POSTED; - } else - lj->lioj_flags &= ~LIOJ_SIGNAL; - + } TAILQ_INSERT_TAIL(&ki->kaio_liojoblist, lj, lioj_list); /* * Get pointers to the list of I/O requests. |