summaryrefslogtreecommitdiffstats
path: root/sys/fs/msdosfs/msdosfs_denode.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2009-02-27 20:00:15 +0000
committerjhb <jhb@FreeBSD.org>2009-02-27 20:00:15 +0000
commit90499e3f8eb3ad46cecd13f6219e89c28e330a34 (patch)
tree4703df2e91319f49ee1838a7c3861e8cdf417d90 /sys/fs/msdosfs/msdosfs_denode.c
parent9456dca639e58d3bd057fb4f73670d88d05212ab (diff)
downloadFreeBSD-src-90499e3f8eb3ad46cecd13f6219e89c28e330a34.zip
FreeBSD-src-90499e3f8eb3ad46cecd13f6219e89c28e330a34.tar.gz
- Hold a reference on the cdev a filesystem is mounted from in the mount.
- Remove the cdev pointers from the denode and instead use the mountpoint's reference to call dev2udev() in getattr(). Reviewed by: kib, julian
Diffstat (limited to 'sys/fs/msdosfs/msdosfs_denode.c')
-rw-r--r--sys/fs/msdosfs/msdosfs_denode.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/fs/msdosfs/msdosfs_denode.c b/sys/fs/msdosfs/msdosfs_denode.c
index e1e0053..d461484 100644
--- a/sys/fs/msdosfs/msdosfs_denode.c
+++ b/sys/fs/msdosfs/msdosfs_denode.c
@@ -168,7 +168,6 @@ 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