fd: put back FILEDESC_SUNLOCK to pwd_hold lost during rebase
Reported by: pho
This commit is contained in:
parent
aba10e131f
commit
e914224af1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=363528
@ -3354,6 +3354,7 @@ pwd_hold(struct thread *td)
|
||||
FILEDESC_SLOCK(fdp);
|
||||
pwd = pwd_hold_filedesc(fdp);
|
||||
MPASS(pwd != NULL);
|
||||
FILEDESC_SUNLOCK(fdp);
|
||||
return (pwd);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user