From: Jay Fenlason Date: Fri, 3 Oct 2008 15:19:09 +0000 (-0400) Subject: firewire: add a client_list_lock X-Git-Tag: v2.6.30-rc1~644^2~51 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cf417e5494582453c033d8cac9e1352e74215435;p=pandora-kernel.git firewire: add a client_list_lock This adds a client_list_lock, which only protects the device's client_list, so that future versions of the driver can call code that takes the card->lock while holding the client_list_lock. Adding this lock is much simpler than adding __ versions of all the functions that the future version may need. The one ordering issue is to make sure code never takes the client_list_lock with card->lock held. Since client_list_lock is only used in three places, that isn't hard. Signed-off-by: Jay Fenlason Update fill_bus_reset_event() accordingly. Include linux/spinlock.h. Signed-off-by: Stefan Richter --- Reading git-diff-tree failed