svn commit: r260717 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs
Andriy Gapon
avg at FreeBSD.org
Thu Jan 16 13:44:38 UTC 2014
Author: avg
Date: Thu Jan 16 13:44:37 2014
New Revision: 260717
URL: http://svnweb.freebsd.org/changeset/base/260717
Log:
fix a build problem with INVARIANTS enabled introduced in r260704
Reported by: glebius
MFC after: 5 days
X-MFC with: r260704
Modified:
head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_znode.c
Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_znode.c
==============================================================================
--- head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_znode.c Thu Jan 16 13:42:50 2014 (r260716)
+++ head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_znode.c Thu Jan 16 13:44:37 2014 (r260717)
@@ -624,7 +624,7 @@ zfs_znode_alloc(zfsvfs_t *zfsvfs, dmu_bu
zp = kmem_cache_alloc(znode_cache, KM_SLEEP);
- KASSERT(td->td_vp_reserv > 0,
+ KASSERT(curthread->td_vp_reserv > 0,
("zfs_znode_alloc: getnewvnode without any vnodes reserved"));
error = getnewvnode("zfs", zfsvfs->z_parent->z_vfs, &zfs_vnodeops, &vp);
if (error != 0) {
More information about the svn-src-head
mailing list