summaryrefslogtreecommitdiff
path: root/libbcachefs/rcu_pending.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbcachefs/rcu_pending.c')
-rw-r--r--libbcachefs/rcu_pending.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libbcachefs/rcu_pending.c b/libbcachefs/rcu_pending.c
index 67522aa3..40a20192 100644
--- a/libbcachefs/rcu_pending.c
+++ b/libbcachefs/rcu_pending.c
@@ -478,9 +478,7 @@ start_gp:
*/
if (!p->cb_armed) {
p->cb_armed = true;
- spin_unlock_irqrestore(&p->lock, flags);
__call_rcu(pending->srcu, &p->cb, rcu_pending_rcu_cb);
- goto free_node;
} else {
__start_poll_synchronize_rcu(pending->srcu);
}