USB: fix usbled disconnect read race #2
authorOliver Neukum <oliver@neukum.org>
Sun, 28 Oct 2007 07:21:59 +0000 (08:21 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 28 Nov 2007 21:58:33 +0000 (13:58 -0800)
usbled has a race where show methods for attributes in sysfs can
follow a NULL pointer during disconnect. The correct ordering fixes
it.

Signed-off-by: Oliver Neukum <oneukum@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

No differences found