When fixing up the locking in the delayed ref destruction work I accidently broke the locking myself ;(. Add back a spin_lock that should be there and we are now all set. Thanks, Btrfs: add a missing spin_lock When fixing up the locking in the delayed ref destruction work I accidently broke the locking myself ;(. Add back a spin_lock that should be there and we are now all set. Thanks,
Unified · Split
| @@ -3426,6 +3426,7 @@ int btrfs_destroy_delayed_refs(struct btrfs_transaction *trans, · 3425 unmodified lines | ||
| 3426 | 3426 | mutex_unlock(&head->mutex); |
| 3427 | 3427 | btrfs_put_delayed_ref(ref); |
| 3428 | 3428 | |
| 3429 | + spin_lock(&delayed_refs->lock); | |
| 3429 | 3430 | continue; |
| 3430 | 3431 | } |
| 3431 | 3432 | |