diff options
author | Matthew Macy <[email protected]> | 2019-10-25 13:46:07 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2019-10-25 13:46:07 -0700 |
commit | 0ee89a1252f23fa2f1086670e47091400b1f857a (patch) | |
tree | db5c3b6bdceef172897100c707c4853b8e3ae33d /module/zfs/dnode.c | |
parent | c392c5aec06837aaf6d780fa6ba4dce5a84f6acb (diff) |
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 <[email protected]>
Reviewed-by: Jorgen Lundman <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Matt Macy <[email protected]>
Closes #9506
Diffstat (limited to 'module/zfs/dnode.c')
-rw-r--r-- | module/zfs/dnode.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/module/zfs/dnode.c b/module/zfs/dnode.c index 9bca72d53..f03e88eb9 100644 --- a/module/zfs/dnode.c +++ b/module/zfs/dnode.c @@ -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; /* |