From: Stefan Richter Date: Sat, 16 Aug 2008 15:52:04 +0000 (+0200) Subject: ieee1394: raw1394: narrow down the state_mutex protected region X-Git-Tag: v2.6.28-rc1~277^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ddfb908d3f905dbb5964d6fbf783e69c417eb13e;p=pandora-kernel.git ieee1394: raw1394: narrow down the state_mutex protected region 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 --- Reading git-diff-tree failed