ieee1394: raw1394: narrow down the state_mutex protected region
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Sat, 16 Aug 2008 15:52:04 +0000 (17:52 +0200)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Wed, 15 Oct 2008 20:21:08 +0000 (22:21 +0200)
Refactor the ioctl dispatcher in order to move a fraction of it out of
the section which is serialized by fi->state_mutex.  This is not so much
about performance but more about self-documentation:  The mutex_lock()/
mutex_unlock() calls are now closer to the data accesses which the mutex
protects, i.e. to the iso_state switch.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>

No differences found