fd: remove filedesc argument from fdclose
Just accept a thread instead. This makes it consistent with fdalloc. No functional changes.
This commit is contained in:
@@ -2022,7 +2022,7 @@ kern_kmq_open(struct thread *td, const char *upath, int flags, mode_t mode,
|
||||
|
||||
if (error) {
|
||||
sx_xunlock(&mqfs_data.mi_lock);
|
||||
fdclose(fdp, fp, fd, td);
|
||||
fdclose(td, fp, fd);
|
||||
fdrop(fp, td);
|
||||
return (error);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user