diff options
author | trasz <trasz@FreeBSD.org> | 2009-01-11 17:11:01 +0000 |
---|---|---|
committer | trasz <trasz@FreeBSD.org> | 2009-01-11 17:11:01 +0000 |
commit | a671e32e90e8989f6ab16736438069266d489328 (patch) | |
tree | c567cc3ccafac48c8e708a74a57c56951af5d015 /sys/fs | |
parent | d73a74d3eacc44b96072358b6d362a5a21928123 (diff) | |
download | FreeBSD-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.c | 1 |
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); |