usr/src/uts/common/fs/zfs/zfs_znode.c
changeset 2597 21c0f93f2513
parent 2237 45affe88ed99
child 2638 4f583dfeae92
--- a/usr/src/uts/common/fs/zfs/zfs_znode.c	Tue Aug 22 20:26:34 2006 -0700
+++ b/usr/src/uts/common/fs/zfs/zfs_znode.c	Wed Aug 23 14:00:47 2006 -0700
@@ -403,7 +403,6 @@
 
 	zp->z_phys = db->db_data;
 	zp->z_zfsvfs = zfsvfs;
-	zp->z_active = 1;
 	zp->z_reap = 0;
 	zp->z_atime_dirty = 0;
 	zp->z_dbuf_held = 0;
@@ -683,8 +682,6 @@
 			VFS_HOLD(zfsvfs->z_vfs);
 		}
 
-		if (zp->z_active == 0)
-			zp->z_active = 1;
 
 		VN_HOLD(ZTOV(zp));
 		mutex_exit(&zp->z_lock);
@@ -758,7 +755,6 @@
 		return;
 	}
 	mutex_exit(&vp->v_lock);
-	zp->z_active = 0;
 
 	/*
 	 * If this was the last reference to a file with no links,
@@ -1108,7 +1104,6 @@
 
 	rootzp = kmem_cache_alloc(znode_cache, KM_SLEEP);
 	rootzp->z_zfsvfs = &zfsvfs;
-	rootzp->z_active = 1;
 	rootzp->z_reap = 0;
 	rootzp->z_atime_dirty = 0;
 	rootzp->z_dbuf_held = 0;