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 b592fcfe 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>
Showing
- fs/sysfs/dir.c 22 additions, 145 deletionsfs/sysfs/dir.c
- fs/sysfs/group.c 0 additions, 1 deletionfs/sysfs/group.c
- fs/sysfs/inode.c 0 additions, 10 deletionsfs/sysfs/inode.c
- fs/sysfs/mount.c 1 addition, 1 deletionfs/sysfs/mount.c
- fs/sysfs/sysfs.h 0 additions, 6 deletionsfs/sysfs/sysfs.h
- include/linux/kobject.h 0 additions, 5 deletionsinclude/linux/kobject.h
- include/linux/sysfs.h 4 additions, 23 deletionsinclude/linux/sysfs.h
- lib/kobject.c 6 additions, 38 deletionslib/kobject.c
Loading
Please register or sign in to comment