diff options
author | Andy Fleming <afleming@freescale.com> | 2008-05-02 13:00:30 -0500 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-05-06 12:01:34 -0400 |
commit | f162b9d58273a9a5747211133c8ccb2de5cf5ff2 (patch) | |
tree | 1ee677ebfe4cc3ecf4e2b9deffda26a264c1426c /include | |
parent | 569f0c4d909c7f73de634abcdc36344cb72de36a (diff) | |
download | linux-3.10-f162b9d58273a9a5747211133c8ccb2de5cf5ff2.tar.gz linux-3.10-f162b9d58273a9a5747211133c8ccb2de5cf5ff2.tar.bz2 linux-3.10-f162b9d58273a9a5747211133c8ccb2de5cf5ff2.zip |
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 <afleming@freescale.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions