From: Stefan Richter Date: Sat, 15 Sep 2007 12:50:25 +0000 (+0200) Subject: ieee1394: csr1212: proper refcounting X-Git-Tag: v2.6.24-rc1~825^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=17a19b795e9187d65b6e45cb22797725d50f7edb;p=pandora-kernel.git ieee1394: csr1212: proper refcounting At least since nodemgr got rid of coarse global locking, accesses to struct csr1212_keyval's reference counter should be atomic and coupled with proper barriers. Also, calls to csr1212_keep_keyval(kv) should occur before kv is being used. (We probably should convert refcnt to struct kref, but how to keep csr1212_destroy_keyval's implementation non-recursively then?) Signed-off-by: Stefan Richter --- Reading git-diff-tree failed