diff options
author | mckusick <mckusick@FreeBSD.org> | 2016-02-07 01:04:47 +0000 |
---|---|---|
committer | mckusick <mckusick@FreeBSD.org> | 2016-02-07 01:04:47 +0000 |
commit | 3ddfa78dde28358bb798cba9a030c1246dd138ab (patch) | |
tree | 5b99ba824060b35b5f47d82d0919613ec61a7d16 | |
parent | 66ca079836f33725c8ee76ed154ed176e165a5bc (diff) | |
download | FreeBSD-src-3ddfa78dde28358bb798cba9a030c1246dd138ab.zip FreeBSD-src-3ddfa78dde28358bb798cba9a030c1246dd138ab.tar.gz |
Clarify a comment in kern_openat() about the use of falloc_noinstall().
Suggested by: Steve Jacobson
-rw-r--r-- | sys/kern/vfs_syscalls.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/vfs_syscalls.c b/sys/kern/vfs_syscalls.c index c246b9e..0762ca7a 100644 --- a/sys/kern/vfs_syscalls.c +++ b/sys/kern/vfs_syscalls.c @@ -987,7 +987,8 @@ kern_openat(struct thread *td, int fd, char *path, enum uio_seg pathseg, } /* - * 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) |