diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2007-07-31 06:15:08 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-10-12 17:51:03 -0400 |
commit | 90bc61359de0148f8627073d68a22edc7ed9893d (patch) | |
tree | b054bf0cb9bda41dab498086216f4c0253b2c5ed /include/linux/kobject.h | |
parent | 869512ab5ab93e5e82ad7d4aaf4ed098d23bfc3f (diff) |
sysfs: Remove first pass at shadow directory support
While shadow directories appear to be a good idea, the current scheme
of controlling their creation and destruction outside of sysfs appears
to be a locking and maintenance nightmare in the face of sysfs
directories dynamically coming and going. Which can now occur for
directories containing network devices when CONFIG_SYSFS_DEPRECATED is
not set.
This patch removes everything from the initial shadow directory support
that allowed the shadow directory creation to be controlled at a higher
level. So except for a few bits of sysfs_rename_dir everything from
commit b592fcfe7f06c15ec11774b5be7ce0de3aa86e73 is now gone.
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux/kobject.h')
-rw-r--r-- | include/linux/kobject.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/kobject.h b/include/linux/kobject.h index 8b45946e8506..56f5eaf10ea9 100644 --- a/include/linux/kobject.h +++ b/include/linux/kobject.h | |||
@@ -84,14 +84,9 @@ extern void kobject_init(struct kobject *); | |||
84 | extern void kobject_cleanup(struct kobject *); | 84 | extern void kobject_cleanup(struct kobject *); |
85 | 85 | ||
86 | extern int __must_check kobject_add(struct kobject *); | 86 | extern int __must_check kobject_add(struct kobject *); |
87 | extern int __must_check kobject_shadow_add(struct kobject *kobj, | ||
88 | struct sysfs_dirent *shadow_parent); | ||
89 | extern void kobject_del(struct kobject *); | 87 | extern void kobject_del(struct kobject *); |
90 | 88 | ||
91 | extern int __must_check kobject_rename(struct kobject *, const char *new_name); | 89 | extern int __must_check kobject_rename(struct kobject *, const char *new_name); |
92 | extern int __must_check kobject_shadow_rename(struct kobject *kobj, | ||
93 | struct sysfs_dirent *new_parent, | ||
94 | const char *new_name); | ||
95 | extern int __must_check kobject_move(struct kobject *, struct kobject *); | 90 | extern int __must_check kobject_move(struct kobject *, struct kobject *); |
96 | 91 | ||
97 | extern int __must_check kobject_register(struct kobject *); | 92 | extern int __must_check kobject_register(struct kobject *); |