diff options
author | jhb <jhb@FreeBSD.org> | 2001-09-21 22:26:51 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2001-09-21 22:26:51 +0000 |
commit | 5954be75cafd9af8c37554c9128a4910deb3f77e (patch) | |
tree | 8c7255e4b16b79e57dbe9630df731588dc301908 | |
parent | d125564db20cb6d3532e714e2375492ca45ff873 (diff) | |
download | FreeBSD-src-5954be75cafd9af8c37554c9128a4910deb3f77e.zip FreeBSD-src-5954be75cafd9af8c37554c9128a4910deb3f77e.tar.gz |
Use the passed in thread to selrecord() instead of curthread.
-rw-r--r-- | sys/coda/coda_psdev.c | 2 | ||||
-rw-r--r-- | sys/fs/coda/coda_psdev.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/coda/coda_psdev.c b/sys/coda/coda_psdev.c index 2346c7c..49d9fd0 100644 --- a/sys/coda/coda_psdev.c +++ b/sys/coda/coda_psdev.c @@ -463,7 +463,7 @@ vc_nb_poll(dev, events, td) if (!EMPTY(vcp->vc_requests)) return(events & (POLLIN|POLLRDNORM)); - selrecord(curthread, &(vcp->vc_selproc)); + selrecord(td, &(vcp->vc_selproc)); return(0); } diff --git a/sys/fs/coda/coda_psdev.c b/sys/fs/coda/coda_psdev.c index 2346c7c..49d9fd0 100644 --- a/sys/fs/coda/coda_psdev.c +++ b/sys/fs/coda/coda_psdev.c @@ -463,7 +463,7 @@ vc_nb_poll(dev, events, td) if (!EMPTY(vcp->vc_requests)) return(events & (POLLIN|POLLRDNORM)); - selrecord(curthread, &(vcp->vc_selproc)); + selrecord(td, &(vcp->vc_selproc)); return(0); } |