mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Clarify a comment in kern_openat() about the use of falloc_noinstall().
Suggested by: Steve Jacobson
This commit is contained in:
parent
9cdff681a4
commit
b00b459084
1 changed files with 2 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue