diff options
| author | Alan Cox <alc@FreeBSD.org> | 2000-09-04 07:56:32 +0000 |
|---|---|---|
| committer | Alan Cox <alc@FreeBSD.org> | 2000-09-04 07:56:32 +0000 |
| commit | b70158bae13c782b2546d0fd6706af4da07a6f39 (patch) | |
| tree | 8dac17d7b3e3e235a079a66a24dce4c7e407b221 | |
| parent | c9e0534901067c63cfb77f854689086af4b65ae0 (diff) | |
Notes
| -rw-r--r-- | sys/kern/vfs_aio.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/vfs_aio.c b/sys/kern/vfs_aio.c index bddf4b360e12..ea26dbd21705 100644 --- a/sys/kern/vfs_aio.c +++ b/sys/kern/vfs_aio.c @@ -2386,7 +2386,8 @@ filt_aio(struct knote *kn, long hint) struct aiocblist *aiocbe = (struct aiocblist *)kn->kn_id; kn->kn_data = 0; /* XXX data returned? */ - if (aiocbe->jobstate != JOBST_JOBFINISHED) + if (aiocbe->jobstate != JOBST_JOBFINISHED && + aiocbe->jobstate != JOBST_JOBBFINISHED) return (0); kn->kn_flags |= EV_EOF; return (1); |
