Revert "kernfs: remove KERNFS_REMOVED"
This reverts commit ae34372e. 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>
Showing
- fs/kernfs/dir.c 35 additions, 44 deletionsfs/kernfs/dir.c
- fs/kernfs/file.c 3 additions, 7 deletionsfs/kernfs/file.c
- fs/kernfs/kernfs-internal.h 1 addition, 2 deletionsfs/kernfs/kernfs-internal.h
- fs/kernfs/symlink.c 3 additions, 7 deletionsfs/kernfs/symlink.c
- include/linux/kernfs.h 1 addition, 0 deletionsinclude/linux/kernfs.h
Loading
Please register or sign in to comment