mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-24 07:31:41 +00:00
Revert "kernfs: remove KERNFS_REMOVED"
This reverts commit ae34372eb8
.
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>
This commit is contained in:
parent
4f4b1b6471
commit
798c75a0d4
5 changed files with 44 additions and 61 deletions
|
@ -26,8 +26,7 @@ struct kernfs_iattrs {
|
|||
struct simple_xattrs xattrs;
|
||||
};
|
||||
|
||||
/* +1 to avoid triggering overflow warning when negating it */
|
||||
#define KN_DEACTIVATED_BIAS (INT_MIN + 1)
|
||||
#define KN_DEACTIVATED_BIAS INT_MIN
|
||||
|
||||
/* KERNFS_TYPE_MASK and types are defined in include/linux/kernfs.h */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue