Revert "kernfs: remove kernfs_addrm_cxt"
This reverts commit 99177a34. 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 88 additions, 26 deletionsfs/kernfs/dir.c
- fs/kernfs/file.c 9 additions, 1 deletionfs/kernfs/file.c
- fs/kernfs/kernfs-internal.h 11 additions, 1 deletionfs/kernfs/kernfs-internal.h
- fs/kernfs/symlink.c 9 additions, 1 deletionfs/kernfs/symlink.c
- include/linux/kernfs.h 4 additions, 0 deletionsinclude/linux/kernfs.h
Loading
Please register or sign in to comment