Add fix-dnode-cons branch

This commit is contained in:
Brian Behlendorf 2008-11-20 12:52:07 -08:00
parent 34dc7c2f25
commit fdab741a77
3 changed files with 9 additions and 1 deletions

1
.topdeps Normal file
View File

@ -0,0 +1 @@
master

8
.topmsg Normal file
View File

@ -0,0 +1,8 @@
From: Brian Behlendorf <behlendorf1@llnl.gov>
Subject: [PATCH] fix dnode constructor
Don't call the constructor twice
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
---

View File

@ -275,7 +275,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;