Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Feb 2000 07:30:02 -0800 (PST)
From:      Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
To:        freebsd-bugs@FreeBSD.org
Subject:   kern/16816: vop_stdpoll() in /sys/kern/vfs_default.c does not handle POLLIN/POLLOUT flags
Message-ID:  <200002221530.HAA81524@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/16816; it has been noted by GNATS.

From: Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
To: kenji.rikitake@acm.org
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: kern/16816: vop_stdpoll() in /sys/kern/vfs_default.c does not handle POLLIN/POLLOUT flags
Date: Tue, 22 Feb 2000 10:29:44 -0500 (EST)

 <<On 19 Feb 2000 03:49:55 -0000, kenji.rikitake@acm.org said:
 
 > --- /sys/kern/vfs_default.c     Wed Jan 20 23:48:49 1999
 > +++ vfs_default.c       Sat Feb 19 12:44:43 2000
 > @@ -285,7 +285,8 @@
 >         } */ *ap;
 >  {
 >         if ((ap->a_events & ~POLLSTANDARD) == 0)
 > -               return (ap->a_events & (POLLRDNORM|POLLWRNORM));
 > +               return (ap->a_events & 
 > +                      (POLLIN | POLLOUT | POLLRDNORM | POLLWRNORM));
 >         return (vn_pollrecord(ap->a_vp, ap->a_p, ap->a_events));
 >  }
 
 Looks fine to me.
 
 -GAWollman
 
 --
 Garrett A. Wollman   | O Siem / We are all family / O Siem / We're all the same
 wollman@lcs.mit.edu  | O Siem / The fires of freedom 
 Opinions not those of| Dance in the burning flame
 MIT, LCS, CRS, or NSA|                     - Susan Aglukark and Chad Irschick
 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200002221530.HAA81524>