diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-08-21 13:24:32 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-08-22 10:55:03 -0700 |
commit | 47eba33a0997fc7362ae41cf28cea687e28bd731 (patch) | |
tree | d20f1127549aca2a1add4f9ea02c919cb7549aea /security | |
parent | 3e1026b3fa2f61d33ce6a9e42a22398cc4ab8e58 (diff) |
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 'security')
0 files changed, 0 insertions, 0 deletions