]> git.baikalelectronics.ru Git - kernel.git/commit
irda: iriap: Use seperate lockdep class for irias_objects->hb_spinlock
authorDavid S. Miller <davem@davemloft.net>
Tue, 7 Jun 2011 00:00:35 +0000 (17:00 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 7 Jun 2011 00:00:35 +0000 (17:00 -0700)
commit8bffee4ba8461df4862074027dfb1eeb33f4536b
tree4fc4edaf85c7b6fe65a8d23c16cd2491c03b6de8
parentfc10b40c8c6b001b08eb267026254f6b03d834e2
irda: iriap: Use seperate lockdep class for irias_objects->hb_spinlock

The SEQ output functions grab the obj->attrib->hb_spinlock lock of
sub-objects found in the hash traversal.  These locks are in a different
realm than the one used for the irias_objects hash table itself.

So put the latter into it's own lockdep class.

Reported-by: Dave Jones <davej@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/irda/iriap.c