]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "kernfs, sysfs, driver-core: implement kernfs_remove_self() and its wrappers"
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 13 Jan 2014 22:05:13 +0000 (14:05 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 13 Jan 2014 22:05:13 +0000 (14:05 -0800)
commit44e14be006190336a30f7321ffb9a91f822dc5dc
treef54235f920d392519bde975d42aa4b4534f9561a
parente7b108c9249d6c859ebf2eb7baddc9b4c9f909e4
Revert "kernfs, sysfs, driver-core: implement kernfs_remove_self() and its wrappers"

This reverts commit 7180d5ef7939079e52e79bd2a640804e3e39bb79.

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>
Cc: Alan Stern <stern@rowland.harvard.edu>
Cc: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/core.c
fs/kernfs/dir.c
fs/sysfs/file.c
include/linux/device.h
include/linux/kernfs.h
include/linux/sysfs.h