mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-19 13:11:14 +00:00
Revert "kernfs, sysfs, driver-core: implement kernfs_remove_self() and its wrappers"
This reverts commit 1ae06819c7
.
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>
This commit is contained in:
parent
8634c422c1
commit
a9f138b0e5
6 changed files with 0 additions and 127 deletions
|
@ -198,7 +198,6 @@ int __must_check sysfs_chmod_file(struct kobject *kobj,
|
|||
const struct attribute *attr, umode_t mode);
|
||||
void sysfs_remove_file_ns(struct kobject *kobj, const struct attribute *attr,
|
||||
const void *ns);
|
||||
bool sysfs_remove_file_self(struct kobject *kobj, const struct attribute *attr);
|
||||
void sysfs_remove_files(struct kobject *kobj, const struct attribute **attr);
|
||||
|
||||
int __must_check sysfs_create_bin_file(struct kobject *kobj,
|
||||
|
@ -302,12 +301,6 @@ static inline void sysfs_remove_file_ns(struct kobject *kobj,
|
|||
{
|
||||
}
|
||||
|
||||
static inline bool sysfs_remove_file_self(struct kobject *kobj,
|
||||
const struct attribute *attr)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
static inline void sysfs_remove_files(struct kobject *kobj,
|
||||
const struct attribute **attr)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue