Revert "sysfs, driver-core: remove unused {sysfs|device}_schedule_callback_owner()"
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 13 Jan 2014 21:51:36 +0000 (13:51 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 13 Jan 2014 21:51:36 +0000 (13:51 -0800)
commita30f82b7ebc87cdec3ef48303278f02970086118
tree9ae4816d0499319aac3f8acbc262b17524c48eaa
parentce9b499c9f58d7f3f680413f3ab5407f4e647ba2
Revert "sysfs, driver-core: remove unused {sysfs|device}_schedule_callback_owner()"

This reverts commit d1ba277e79889085a2faec3b68b91ce89c63f888.

Tejun writes:
        I'm sorry but can you please revert the whole series?
        get_active() waiting while a node is deactivated has potential
        to lead to deadlock and that deactivate/reactivate interface is
        something fundamentally flawed and that cgroup will have to work
        with the remove_self() like everybody else.  IOW, I think the
        first posting was correct.

Cc: Tejun Heo <tj@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/core.c
fs/sysfs/file.c
include/linux/device.h
include/linux/sysfs.h