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)
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to