Loading init/uevent_listener.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -171,7 +171,7 @@ ListenerAction UeventListener::RegenerateUeventsForPath(const std::string& path, return RegenerateUeventsForDir(d.get(), callback); } static const char* kRegenerationPaths[] = {"/sys/class", "/sys/block", "/sys/devices"}; static const char* kRegenerationPaths[] = {"/sys/devices"}; void UeventListener::RegenerateUevents(const ListenerCallback& callback) const { for (const auto path : kRegenerationPaths) { Loading Loading
init/uevent_listener.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -171,7 +171,7 @@ ListenerAction UeventListener::RegenerateUeventsForPath(const std::string& path, return RegenerateUeventsForDir(d.get(), callback); } static const char* kRegenerationPaths[] = {"/sys/class", "/sys/block", "/sys/devices"}; static const char* kRegenerationPaths[] = {"/sys/devices"}; void UeventListener::RegenerateUevents(const ListenerCallback& callback) const { for (const auto path : kRegenerationPaths) { Loading