Clarify a comment in kern_openat() about the use of falloc_noinstall().

Suggested by: Steve Jacobson
This commit is contained in:
Kirk McKusick 2016-02-07 01:04:47 +00:00
parent 9cdff681a4
commit b00b459084

View file

@ -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)