Revert "kernfs, sysfs, driver-core: implement kernfs_remove_self() and its wrappers"
This reverts commit 1ae06819. 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>
Showing
- drivers/base/core.c 0 additions, 17 deletionsdrivers/base/core.c
- fs/kernfs/dir.c 0 additions, 72 deletionsfs/kernfs/dir.c
- fs/sysfs/file.c 0 additions, 23 deletionsfs/sysfs/file.c
- include/linux/device.h 0 additions, 2 deletionsinclude/linux/device.h
- include/linux/kernfs.h 0 additions, 6 deletionsinclude/linux/kernfs.h
- include/linux/sysfs.h 0 additions, 7 deletionsinclude/linux/sysfs.h
Loading
Please register or sign in to comment