]> err.no Git - linux-2.6/commit
sysfs: Remove first pass at shadow directory support
authorEric W. Biederman <ebiederm@xmission.com>
Tue, 31 Jul 2007 10:15:08 +0000 (19:15 +0900)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 12 Oct 2007 21:51:03 +0000 (14:51 -0700)
commit90bc61359de0148f8627073d68a22edc7ed9893d
treeb054bf0cb9bda41dab498086216f4c0253b2c5ed
parent869512ab5ab93e5e82ad7d4aaf4ed098d23bfc3f
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>
fs/sysfs/dir.c
fs/sysfs/group.c
fs/sysfs/inode.c
fs/sysfs/mount.c
fs/sysfs/sysfs.h
include/linux/kobject.h
include/linux/sysfs.h
lib/kobject.c