summaryrefslogtreecommitdiffstats
path: root/sys/fs
diff options
context:
space:
mode:
authortrasz <trasz@FreeBSD.org>2009-01-11 17:11:01 +0000
committertrasz <trasz@FreeBSD.org>2009-01-11 17:11:01 +0000
commita671e32e90e8989f6ab16736438069266d489328 (patch)
treec567cc3ccafac48c8e708a74a57c56951af5d015 /sys/fs
parentd73a74d3eacc44b96072358b6d362a5a21928123 (diff)
downloadFreeBSD-src-a671e32e90e8989f6ab16736438069266d489328.zip
FreeBSD-src-a671e32e90e8989f6ab16736438069266d489328.tar.gz
Fix msdosfs_print(), which in turn fixes "show lockedvnods" for msdosfs
vnodes. Reviewed by: kib Approved by: rwatson (mentor) Sponsored by: FreeBSD Foundation
Diffstat (limited to 'sys/fs')
-rw-r--r--sys/fs/msdosfs/msdosfs_denode.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/fs/msdosfs/msdosfs_denode.c b/sys/fs/msdosfs/msdosfs_denode.c
index d461484..e1e0053 100644
--- a/sys/fs/msdosfs/msdosfs_denode.c
+++ b/sys/fs/msdosfs/msdosfs_denode.c
@@ -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);
OpenPOWER on IntegriCloud