mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
In msdosfs deget(), properly handle the case when the vnode is found in hash.
Tested by: pho MFC after: 3 weeks
This commit is contained in:
parent
740a720142
commit
0bdbd6270f
1 changed files with 2 additions and 3 deletions
|
|
@ -182,9 +182,8 @@ deget(pmp, dirclust, diroffset, depp)
|
|||
return (error);
|
||||
}
|
||||
if (xvp != NULL) {
|
||||
/* XXX: Not sure this is right */
|
||||
nvp = xvp;
|
||||
ldep->de_vnode = nvp;
|
||||
*depp = xvp->v_data;
|
||||
return (0);
|
||||
}
|
||||
|
||||
ldep->de_pmp = pmp;
|
||||
|
|
|
|||
Loading…
Reference in a new issue