fd: put back FILEDESC_SUNLOCK to pwd_hold lost during rebase

Reported by:	pho
This commit is contained in:
Mateusz Guzik 2020-07-25 15:34:29 +00:00
parent aba10e131f
commit e914224af1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=363528

View File

@ -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);
}