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:
Mateusz Guzik
2015-04-11 15:40:28 +00:00
parent 3d08016fc4
commit 90f54cbfeb
13 changed files with 23 additions and 27 deletions
+1 -1
View File
@@ -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);
}