diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/vfs_subr.c | 1 | ||||
-rw-r--r-- | sys/kern/vfs_vnops.c | 2 | ||||
-rw-r--r-- | sys/sys/vnode.h | 1 |
3 files changed, 0 insertions, 4 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: 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; /* diff --git a/sys/sys/vnode.h b/sys/sys/vnode.h index d3054c6..43a8666 100644 --- a/sys/sys/vnode.h +++ b/sys/sys/vnode.h @@ -148,7 +148,6 @@ struct vnode { const char *filename; /* Source file doing locking */ int line; /* Line number doing locking */ #endif - dev_t v_cachedfs; /* cached fs id */ ino_t v_cachedid; /* cached file id */ }; |