summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
Diffstat (limited to 'module')
-rw-r--r--module/zfs/bqueue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/zfs/bqueue.c b/module/zfs/bqueue.c
index 0e490805c..f30253d24 100644
--- a/module/zfs/bqueue.c
+++ b/module/zfs/bqueue.c
@@ -97,8 +97,8 @@ bqueue_dequeue(bqueue_t *q)
ASSERT3P(ret, !=, NULL);
item_size = obj2node(q, ret)->bqn_size;
q->bq_size -= item_size;
- mutex_exit(&q->bq_lock);
cv_signal(&q->bq_add_cv);
+ mutex_exit(&q->bq_lock);
return (ret);
}