summaryrefslogtreecommitdiff
path: root/src/block/block_ext.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/block/block_ext.c')
-rw-r--r--src/block/block_ext.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/block/block_ext.c b/src/block/block_ext.c
index b02fea8707d..26acc8c560f 100644
--- a/src/block/block_ext.c
+++ b/src/block/block_ext.c
@@ -344,7 +344,8 @@ __block_off_remove(WT_SESSION_IMPL *session, WT_BLOCK *block,
__block_size_srch(el->sz, ext->size, sstack);
szp = *sstack[0];
if (szp == NULL || szp->size != ext->size)
- return (EINVAL);
+ WT_PANIC_RET(session, EINVAL,
+ "extent not found in by-size list during remove");
__block_off_srch(szp->off, off, astack, true);
ext = *astack[0];
if (ext == NULL || ext->off != off)