diff options
author | pjd <pjd@FreeBSD.org> | 2007-05-06 19:05:37 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2007-05-06 19:05:37 +0000 |
commit | e719d9746950e5d50fca7db8e178d20037263262 (patch) | |
tree | 95cba692d0bf26f725dbc7a37642171ee00406de /sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dnode.c | |
parent | c1f9a3e303048a7b8d456ac3131ecb19ae26e7d8 (diff) | |
download | FreeBSD-src-e719d9746950e5d50fca7db8e178d20037263262.zip FreeBSD-src-e719d9746950e5d50fca7db8e178d20037263262.tar.gz |
- Add missing lock destruction and remove duplicate initializations.
With this change it is possible to unload zfs.ko module from
WITNESS-enabled kernel.
- Remove bogus comment.
Diffstat (limited to 'sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dnode.c')
-rw-r--r-- | sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dnode.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dnode.c b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dnode.c index 65bb518..ca50285 100644 --- a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dnode.c +++ b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dnode.c @@ -260,7 +260,6 @@ dnode_create(objset_impl_t *os, dnode_phys_t *dnp, dmu_buf_impl_t *db, uint64_t object) { dnode_t *dn = kmem_cache_alloc(dnode_cache, KM_SLEEP); - (void) dnode_cons(dn, NULL, 0); /* XXX */ dn->dn_objset = os; dn->dn_object = object; |