diff options
author | 2013-08-21 13:24:32 -0700 | |
---|---|---|
committer | 2013-08-22 10:55:03 -0700 | |
commit | 47eba33a0997fc7362ae41cf28cea687e28bd731 (patch) | |
tree | d20f1127549aca2a1add4f9ea02c919cb7549aea /tools/perf/scripts/python | |
parent | sysfs.h: remove attr_name() macro (diff) | |
download | linux-dev-47eba33a0997fc7362ae41cf28cea687e28bd731.tar.xz linux-dev-47eba33a0997fc7362ae41cf28cea687e28bd731.zip |
w1: remove race with sysfs file creation
W1 slave sysfs files are created _after_ userspace is notified that the
device has been added to the system. Fix that race by moving the
creation/remove of the files to the bus notifier that is there for doing
this type of thing.
Acked-by: Evgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions