From: Greg Kroah-Hartman Date: Wed, 21 Aug 2013 20:24:32 +0000 (-0700) Subject: w1: remove race with sysfs file creation X-Git-Tag: v3.12-rc1~184^2~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=47eba33a0997fc7362ae41cf28cea687e28bd731;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed