Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux...
[linux-2.6-microblaze.git] / fs / btrfs / disk-io.c
index e1890b1..7b845ff 100644 (file)
@@ -3426,6 +3426,7 @@ int btrfs_destroy_delayed_refs(struct btrfs_transaction *trans,
                                mutex_unlock(&head->mutex);
                                btrfs_put_delayed_ref(ref);
 
+                               spin_lock(&delayed_refs->lock);
                                continue;
                        }