aboutsummaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorRich Ercolani <[email protected]>2021-09-08 17:00:03 -0400
committerTony Hutter <[email protected]>2021-09-14 15:42:33 -0700
commit7d70f1e09971d2ffac9c4557bdd59ce8e8bc5035 (patch)
tree4294dd52fd0f779d541c11766fe37690d716ab4c /module
parentfd92825445a4f60cb588ce558775add5a6e13e3b (diff)
arc: Drop an incorrect assert
Unfortunately, there was an overzealous assertion that was (in pretty specific circumstances) false, causing failure. This assertion was added in error, so we're removing it. Reviewed-by: Matthew Ahrens <[email protected]> Reviewed-by: George Wilson <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Rich Ercolani <[email protected]> Closes #9897 Closes #12020 Closes #12246
Diffstat (limited to 'module')
-rw-r--r--module/zfs/arc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/module/zfs/arc.c b/module/zfs/arc.c
index a89a9e65d..056ebf532 100644
--- a/module/zfs/arc.c
+++ b/module/zfs/arc.c
@@ -6541,7 +6541,6 @@ arc_release(arc_buf_t *buf, void *tag)
ASSERT(!HDR_IO_IN_PROGRESS(hdr));
ASSERT(!HDR_IN_HASH_TABLE(hdr));
ASSERT(!HDR_HAS_L2HDR(hdr));
- ASSERT(HDR_EMPTY(hdr));
ASSERT3U(hdr->b_l1hdr.b_bufcnt, ==, 1);
ASSERT3S(zfs_refcount_count(&hdr->b_l1hdr.b_refcnt), ==, 1);