From 7bef55364a66de53ef29f35f1db7f570128b78d2 Mon Sep 17 00:00:00 2001 From: phk Date: Tue, 9 Nov 2004 22:51:03 +0000 Subject: Remove vnode->v_cachedfs. It was only used for the highly dangerous "export all vnodes with a sysctl" function. --- sys/kern/vfs_vnops.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'sys/kern/vfs_vnops.c') diff --git a/sys/kern/vfs_vnops.c b/sys/kern/vfs_vnops.c index a32e128..3ca3890 100644 --- a/sys/kern/vfs_vnops.c +++ b/sys/kern/vfs_vnops.c @@ -232,7 +232,6 @@ restart: } } if ((error = VOP_GETATTR(vp, vap, cred, td)) == 0) { - vp->v_cachedfs = vap->va_fsid; vp->v_cachedid = vap->va_fileid; } if ((error = VOP_OPEN(vp, fmode, cred, td, fdidx)) != 0) @@ -668,7 +667,6 @@ vn_stat(vp, sb, active_cred, file_cred, td) if (error) return (error); - vp->v_cachedfs = vap->va_fsid; vp->v_cachedid = vap->va_fileid; /* -- cgit v1.1