diff options
author | rwatson <rwatson@FreeBSD.org> | 2008-10-08 06:26:51 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2008-10-08 06:26:51 +0000 |
commit | 831501628424453bfac92ceef105a86fb9ee8e7e (patch) | |
tree | 7092dc8dc22e1c319032d7b05f2038cf3161c171 /sys/kern/uipc_usrreq.c | |
parent | 82c89c763f3d61bb18b44cd61fa2c68d635887a1 (diff) | |
download | FreeBSD-src-831501628424453bfac92ceef105a86fb9ee8e7e.zip FreeBSD-src-831501628424453bfac92ceef105a86fb9ee8e7e.tar.gz |
Remove stale comment (and XXX saying so) about why we zero the file
descriptor pointer in unp_freerights: we can no longer recurse into
unp_gc due to unp_gc being invoked in a deferred way, but it's still
a good idea.
MFC after: 3 days
Diffstat (limited to 'sys/kern/uipc_usrreq.c')
-rw-r--r-- | sys/kern/uipc_usrreq.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/kern/uipc_usrreq.c b/sys/kern/uipc_usrreq.c index 5b0bfde..c30e8ec 100644 --- a/sys/kern/uipc_usrreq.c +++ b/sys/kern/uipc_usrreq.c @@ -1538,12 +1538,6 @@ unp_freerights(struct file **rp, int fdcount) struct file *fp; for (i = 0; i < fdcount; i++) { - /* - * Zero the pointer before calling unp_discard since it may - * end up in unp_gc().. - * - * XXXRW: This is less true than it used to be. - */ fp = *rp; *rp++ = NULL; unp_discard(fp); |