Spell the name of the lock right in addition to getting the type right.
Submitted by: Kim Culhan <kimc@w8hd.org>
This commit is contained in:
parent
cda369cac4
commit
d49ebea58c
@ -543,7 +543,7 @@ static int
|
||||
pfs_iterate(struct thread *td, pid_t pid, struct pfs_node *pd,
|
||||
struct pfs_node **pn, struct proc **p)
|
||||
{
|
||||
sx_assert(&allproc, SX_LOCKED);
|
||||
sx_assert(&allproc_lock, SX_LOCKED);
|
||||
again:
|
||||
if (*pn == NULL) {
|
||||
/* first node */
|
||||
|
Loading…
Reference in New Issue
Block a user