svn commit: r295358 - head/sys/kern

Kirk McKusick mckusick at FreeBSD.org
Sun Feb 7 01:04:49 UTC 2016


Author: mckusick
Date: Sun Feb  7 01:04:47 2016
New Revision: 295358
URL: https://svnweb.freebsd.org/changeset/base/295358

Log:
  Clarify a comment in kern_openat() about the use of falloc_noinstall().
  
  Suggested by: Steve Jacobson

Modified:
  head/sys/kern/vfs_syscalls.c

Modified: head/sys/kern/vfs_syscalls.c
==============================================================================
--- head/sys/kern/vfs_syscalls.c	Sun Feb  7 00:49:15 2016	(r295357)
+++ head/sys/kern/vfs_syscalls.c	Sun Feb  7 01:04:47 2016	(r295358)
@@ -987,7 +987,8 @@ kern_openat(struct thread *td, int fd, c
 	}
 
 	/*
-	 * Allocate the file descriptor, but don't install a descriptor yet.
+	 * Allocate a file structure. The descriptor to reference it
+	 * is allocated and set by finstall() below.
 	 */
 	error = falloc_noinstall(td, &fp);
 	if (error != 0)


More information about the svn-src-all mailing list