summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_subr.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2004-11-09 22:51:03 +0000
committerphk <phk@FreeBSD.org>2004-11-09 22:51:03 +0000
commit7bef55364a66de53ef29f35f1db7f570128b78d2 (patch)
tree999b2af3885c8b6bb8e23d822e011071c16f8fda /sys/kern/vfs_subr.c
parentc09a33b488eb40bd0c76b963fdf2f3aacf075bb1 (diff)
downloadFreeBSD-src-7bef55364a66de53ef29f35f1db7f570128b78d2.zip
FreeBSD-src-7bef55364a66de53ef29f35f1db7f570128b78d2.tar.gz
Remove vnode->v_cachedfs.
It was only used for the highly dangerous "export all vnodes with a sysctl" function.
Diffstat (limited to 'sys/kern/vfs_subr.c')
-rw-r--r--sys/kern/vfs_subr.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c
index 0a62d38..9e1e899 100644
--- a/sys/kern/vfs_subr.c
+++ b/sys/kern/vfs_subr.c
@@ -2951,7 +2951,6 @@ sysctl_vnode(SYSCTL_HANDLER_ARGS)
case VREG:
case VDIR:
case VLNK:
- xvn[n].xv_dev = vp->v_cachedfs;
xvn[n].xv_ino = vp->v_cachedid;
break;
case VBLK:
OpenPOWER on IntegriCloud