Remove non-portable pointer is valid assert
This assert makes non portable assumptions about the state of memory returned by the memory allocator. Reviewed-by: Igor Kozhukhov <igor@dilos.org> Reviewed-by: Jorgen Lundman <lundman@lundman.net> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Matt Macy <mmacy@FreeBSD.org> Closes #9506
This commit is contained in:
parent
c392c5aec0
commit
0ee89a1252
|
@ -446,7 +446,6 @@ dnode_create(objset_t *os, dnode_phys_t *dnp, dmu_buf_impl_t *db,
|
|||
dnode_t *dn;
|
||||
|
||||
dn = kmem_cache_alloc(dnode_cache, KM_SLEEP);
|
||||
ASSERT(!POINTER_IS_VALID(dn->dn_objset));
|
||||
dn->dn_moved = 0;
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue