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:
Konstantin Belousov 2010-02-28 17:11:31 +00:00
parent 740a720142
commit 0bdbd6270f

View file

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