aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Ercolani <214141+rincebrain@users.noreply.github.com>2021-09-08 21:00:03 +0000
committerGitHub <noreply@github.com>2021-09-08 21:00:03 +0000
commit7676ffc51f5e4963c7e7f9971561f483dcd65976 (patch)
tree872ed29f95b777f26618026347d99b8012978ec3
parent49d8a99a4d6579a61b04c4b05f732fab26b09d30 (diff)
downloadsrc-7676ffc51f5e4963c7e7f9971561f483dcd65976.tar.gz
src-7676ffc51f5e4963c7e7f9971561f483dcd65976.zip
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 <mahrens@delphix.com> Reviewed-by: George Wilson <gwilson@delphix.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Rich Ercolani <rincebrain@gmail.com> Closes #9897 Closes #12020 Closes #12246
-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 227d0417c765..7697c53918e1 100644
--- a/module/zfs/arc.c
+++ b/module/zfs/arc.c
@@ -6535,7 +6535,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);