]> err.no Git - linux-2.6/commit
ieee1394: nodemgr: grab class.subsys.rwsem in nodemgr_resume_ne
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Wed, 6 Sep 2006 17:04:00 +0000 (19:04 +0200)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Sun, 17 Sep 2006 17:38:43 +0000 (19:38 +0200)
commita1842be898a2295ef513ed0a5d26f65d6283cb11
tree41065a6271b2c6247752d545227f7e9b2038ac27
parent9b516010863195ba7db061233a3eeffe779130e8
ieee1394: nodemgr: grab class.subsys.rwsem in nodemgr_resume_ne

nodemgr_resume_ne was iterating over nodemgr_ud_class.children without
protection by nodemgr_ud_class.subsys.rwsem.

FIXME:
Shouldn't we rather use class->sem there, not class->subsys.rwsem?

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/ieee1394/nodemgr.c