Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cfece4db authored by David Sterba's avatar David Sterba Committed by Chris Mason
Browse files

btrfs: add missing spin_unlock to a rare exit path

parent 8d413713
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2903,6 +2903,7 @@ static int btrfs_destroy_delayed_refs(struct btrfs_transaction *trans,

	spin_lock(&delayed_refs->lock);
	if (delayed_refs->num_entries == 0) {
		spin_unlock(&delayed_refs->lock);
		printk(KERN_INFO "delayed_refs has NO entry\n");
		return ret;
	}