svn commit: r255892 - head/sys/kern
John-Mark Gurney
jmg at FreeBSD.org
Thu Sep 26 17:55:05 UTC 2013
Author: jmg
Date: Thu Sep 26 17:55:04 2013
New Revision: 255892
URL: http://svnweb.freebsd.org/changeset/base/255892
Log:
it must be the last member, not might...
Reviewed by: attilio
Approved by: re (delphij, gjb)
Modified:
head/sys/kern/kern_descrip.c
Modified: head/sys/kern/kern_descrip.c
==============================================================================
--- head/sys/kern/kern_descrip.c Thu Sep 26 17:54:58 2013 (r255891)
+++ head/sys/kern/kern_descrip.c Thu Sep 26 17:55:04 2013 (r255892)
@@ -1518,7 +1518,7 @@ fdgrowtable(struct filedesc *fdp, int nf
/*
* In order to have a valid pattern for fget_unlocked()
- * fdp->fd_nfiles might be the last member to be updated, otherwise
+ * fdp->fd_nfiles must be the last member to be updated, otherwise
* fget_unlocked() consumers may reference a new, higher value for
* fdp->fd_nfiles before to access the fdp->fd_ofiles array,
* resulting in OOB accesses.
More information about the svn-src-head
mailing list