Fix msdosfs_print(), which in turn fixes "show lockedvnods" for msdosfs

vnodes.

Reviewed by:	kib
Approved by:	rwatson (mentor)
Sponsored by:	FreeBSD Foundation
This commit is contained in:
Edward Tomasz Napierala 2009-01-11 17:11:01 +00:00
parent 1ce9d649ec
commit f99f675d5a

View File

@ -168,6 +168,7 @@ deget(pmp, dirclust, diroffset, depp)
ldep->de_dirclust = dirclust;
ldep->de_diroffset = diroffset;
ldep->de_inode = inode;
ldep->de_dev = pmp->pm_devvp->v_rdev;
fc_purge(ldep, 0); /* init the fat cache for this denode */
lockmgr(nvp->v_vnlock, LK_EXCLUSIVE, NULL);