Date: Sun, 7 Feb 2016 01:04:47 +0000 (UTC) From: Kirk McKusick <mckusick@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r295358 - head/sys/kern Message-ID: <201602070104.u1714lNV053082@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201602070104.u1714lNV053082>