diff options
author | Poul-Henning Kamp <phk@FreeBSD.org> | 2005-03-15 20:50:58 +0000 |
---|---|---|
committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2005-03-15 20:50:58 +0000 |
commit | de68347b1be0386c026b0419ec674efd4f2717fa (patch) | |
tree | d3b081e52acff85a431fb3da7039e910ee782c98 /sys/ufs | |
parent | 358fef538f30e301c37f5ce9fcab30ddaed2d472 (diff) | |
download | src-de68347b1be0386c026b0419ec674efd4f2717fa.tar.gz src-de68347b1be0386c026b0419ec674efd4f2717fa.zip |
Don't hold a reference on the disk vnode for each inode.
Notes
Notes:
svn path=/head/; revision=143666
Diffstat (limited to 'sys/ufs')
-rw-r--r-- | sys/ufs/ffs/ffs_vfsops.c | 3 | ||||
-rw-r--r-- | sys/ufs/ufs/ufs_inode.c | 1 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/ufs/ffs/ffs_vfsops.c b/sys/ufs/ffs/ffs_vfsops.c index 686bba9c88e6..b1117b6c9903 100644 --- a/sys/ufs/ffs/ffs_vfsops.c +++ b/sys/ufs/ffs/ffs_vfsops.c @@ -1268,10 +1268,11 @@ ffs_vget(mp, ino, flags, vpp) *vpp = NULL; return (error); } + /* * Finish inode initialization. */ - VREF(ip->i_devvp); + /* * Set up a generation number for this inode if it does not * already have one. This should only happen on old filesystems. diff --git a/sys/ufs/ufs/ufs_inode.c b/sys/ufs/ufs/ufs_inode.c index 8d524b9af9d8..b674c944b7b3 100644 --- a/sys/ufs/ufs/ufs_inode.c +++ b/sys/ufs/ufs/ufs_inode.c @@ -162,7 +162,6 @@ ufs_reclaim(ap) /* * Purge old data structures associated with the inode. */ - vrele(ip->i_devvp); #ifdef QUOTA for (i = 0; i < MAXQUOTAS; i++) { if (ip->i_dquot[i] != NODQUOT) { |