diff options
author | dumbbell <dumbbell@FreeBSD.org> | 2006-01-05 19:27:07 +0000 |
---|---|---|
committer | dumbbell <dumbbell@FreeBSD.org> | 2006-01-05 19:27:07 +0000 |
commit | b3d163fa4dd98e96468dce49c8d7d6afdf5798f5 (patch) | |
tree | 341c90fd5c1358ea763ad95d9f756f63684c7564 /sys/gnu/fs/reiserfs/reiserfs_inode.c | |
parent | f3ad199cdc0b6b93a2b175b4721f556810fc3750 (diff) | |
download | FreeBSD-src-b3d163fa4dd98e96468dce49c8d7d6afdf5798f5.zip FreeBSD-src-b3d163fa4dd98e96468dce49c8d7d6afdf5798f5.tar.gz |
Don't hold a reference to the disk vnode for each inode.
Diffstat (limited to 'sys/gnu/fs/reiserfs/reiserfs_inode.c')
-rw-r--r-- | sys/gnu/fs/reiserfs/reiserfs_inode.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/sys/gnu/fs/reiserfs/reiserfs_inode.c b/sys/gnu/fs/reiserfs/reiserfs_inode.c index 13f88da..ece4a75 100644 --- a/sys/gnu/fs/reiserfs/reiserfs_inode.c +++ b/sys/gnu/fs/reiserfs/reiserfs_inode.c @@ -156,14 +156,6 @@ reiserfs_reclaim(struct vop_reclaim_args *ap) /* Remove the inode from its hash chain. */ vfs_hash_remove(vp); - /* Purge old data structures associated with the inode. */ - if (ip->i_devvp) { - reiserfs_log(LOG_DEBUG, "releasing device (0x%p)\n", - ip->i_devvp); - vrele(ip->i_devvp); - ip->i_devvp = NULL; - } - reiserfs_log(LOG_DEBUG, "free private data\n"); FREE(vp->v_data, M_REISERFSNODE); vp->v_data = NULL; @@ -834,7 +826,6 @@ reiserfs_iget( reiserfs_read_locked_inode(ip, &args); ip->i_devvp = rmp->rm_devvp; - VREF(ip->i_devvp); switch(vp->v_type = IFTOVT(ip->i_mode)) { case VBLK: |