Merge branch 'for-linus' of git://git.infradead.org/~dedekind/ubi-2.6
[sfrench/cifs-2.6.git] / drivers / firewire / fw-topology.c
index 172c1867e9aa358c19cbb47afa85478a448ef510..e47bb040197afb229f8c1078bca1741c18e6c7fc 100644 (file)
@@ -383,6 +383,7 @@ void fw_destroy_nodes(struct fw_card *card)
        card->color++;
        if (card->local_node != NULL)
                for_each_fw_node(card, card->local_node, report_lost_node);
+       card->local_node = NULL;
        spin_unlock_irqrestore(&card->lock, flags);
 }