diff options
author | pjd <pjd@FreeBSD.org> | 2013-02-25 20:50:08 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2013-02-25 20:50:08 +0000 |
commit | d632a8a17e630c79d1e1879d5cf51703ab1b3545 (patch) | |
tree | ea56feff9d440428dac451917d4facb4c5dc3a66 | |
parent | 7025a86fb314a93555c75215196605cb36fe8715 (diff) | |
download | FreeBSD-src-d632a8a17e630c79d1e1879d5cf51703ab1b3545.zip FreeBSD-src-d632a8a17e630c79d1e1879d5cf51703ab1b3545.tar.gz |
After r237012, the fdgrowtable() doesn't drop the filedesc lock anymore,
so update a stale comment.
Reviewed by: kib, keramida
-rw-r--r-- | sys/kern/kern_descrip.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/kern/kern_descrip.c b/sys/kern/kern_descrip.c index 9de55e82..fafd95c 100644 --- a/sys/kern/kern_descrip.c +++ b/sys/kern/kern_descrip.c @@ -855,9 +855,7 @@ do_dup(struct thread *td, int flags, int old, int new, /* * If the caller specified a file descriptor, make sure the file * table is large enough to hold it, and grab it. Otherwise, just - * allocate a new descriptor the usual way. Since the filedesc - * lock may be temporarily dropped in the process, we have to look - * out for a race. + * allocate a new descriptor the usual way. */ if (flags & DUP_FIXED) { if (new >= fdp->fd_nfiles) { |