Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/cddl/osnet/dist/uts/common/fs/zfs Make this build.
details: https://anonhg.NetBSD.org/src/rev/b7ba881cdcb2
branches: trunk
changeset: 748623:b7ba881cdcb2
user: tron <tron%NetBSD.org@localhost>
date: Thu Oct 29 10:26:17 2009 +0000
description:
Make this build.
diffstat:
external/cddl/osnet/dist/uts/common/fs/zfs/zfs_znode.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (27 lines):
diff -r e817fc69633f -r b7ba881cdcb2 external/cddl/osnet/dist/uts/common/fs/zfs/zfs_znode.c
--- a/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_znode.c Thu Oct 29 09:50:49 2009 +0000
+++ b/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_znode.c Thu Oct 29 10:26:17 2009 +0000
@@ -1067,6 +1067,7 @@
zfs_zinactive(znode_t *zp)
{
vnode_t *vp = ZTOV(zp);
+ zfsvfs_t *zfsvfs = zp->z_zfsvfs;
ASSERT(zp->z_dbuf && zp->z_phys);
@@ -1080,13 +1081,13 @@
*/
if (zp->z_unlinked) {
mutex_exit(&zp->z_lock);
- ZFS_OBJ_HOLD_EXIT(zfsvfs, z_id);
+ ZFS_OBJ_HOLD_EXIT(zfsvfs, zp->z_id);
zfs_rmnode(zp);
return;
}
mutex_exit(&zp->z_lock);
- ZFS_OBJ_HOLD_EXIT(zfsvfs, z_id);
+ ZFS_OBJ_HOLD_EXIT(zfsvfs, zp->z_id);
zfs_znode_free(zp);
}
Home |
Main Index |
Thread Index |
Old Index