From: Andy Fleming Date: Fri, 2 May 2008 18:00:30 +0000 (-0500) Subject: gianfar: Fix a locking bug in gianfar's sysfs code X-Git-Tag: v2.6.26-rc2~23^2~2^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f162b9d58273a9a5747211133c8ccb2de5cf5ff2;p=pandora-kernel.git gianfar: Fix a locking bug in gianfar's sysfs code During sparse cleanup, found a locking bug. Some of the sysfs functions were acquiring a lock, and then returning in the event of an error. We rearrange the code so that the lock is released in error conditions, too. Signed-off-by: Andy Fleming Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed