git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76e1f48
)
staging: android: timed_output: fix sysfs file creation race
author
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Sat, 24 Aug 2013 17:27:29 +0000
(10:27 -0700)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Sat, 24 Aug 2013 17:27:29 +0000
(10:27 -0700)
The sysfs file for the driver was being created _after_ the device was
announced to userspace, causing a race with any tools looking for sysfs
files.
Fix the race by using the default attribute group for the class.
Cc: Kees Cook <keescook@chromium.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
No differences found