fd: assert dropped filedesc lock in fdcloseexec
This commit is contained in:
parent
de2413b95e
commit
0cfe1a1fec
@ -2307,7 +2307,7 @@ fdcloseexec(struct thread *td)
|
||||
FILEDESC_XLOCK(fdp);
|
||||
fdfree(fdp, i);
|
||||
(void) closefp(fdp, i, fp, td, 0);
|
||||
/* closefp() drops the FILEDESC lock. */
|
||||
FILEDESC_UNLOCK_ASSERT(fdp);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user