From 9fdf02798896bafcd92b649de16e4cdfa56a96eb Mon Sep 17 00:00:00 2001 From: phk Date: Wed, 10 Nov 2004 07:31:06 +0000 Subject: Slim vnodes by another four bytes by eliminating the (now) unused field v_cachedid. --- sys/kern/vfs_vnops.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'sys/kern/vfs_vnops.c') diff --git a/sys/kern/vfs_vnops.c b/sys/kern/vfs_vnops.c index 3ca3890..d819688 100644 --- a/sys/kern/vfs_vnops.c +++ b/sys/kern/vfs_vnops.c @@ -231,9 +231,6 @@ restart: goto bad; } } - if ((error = VOP_GETATTR(vp, vap, cred, td)) == 0) { - vp->v_cachedid = vap->va_fileid; - } if ((error = VOP_OPEN(vp, fmode, cred, td, fdidx)) != 0) goto bad; /* @@ -667,8 +664,6 @@ vn_stat(vp, sb, active_cred, file_cred, td) if (error) return (error); - vp->v_cachedid = vap->va_fileid; - /* * Zero the spare stat fields */ -- cgit v1.1