mirror of
https://github.com/genesi/linux-legacy.git
synced 2026-09-27 09:03:10 +00:00
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>
7.9 KiB
7.9 KiB