linux/fs/sysfs
Eric W. Biederman ca1bab3819 sysfs: Factor out sysfs_rename from sysfs_rename_dir and sysfs_move_dir
These two functions do 90% of the same work and it doesn't significantly
obfuscate the function to allow both the parent dir and the name to change
at the same time.  So merge them together to simplify maintenance, and
increase testing.

Acked-by: Tejun Heo <tj@kernel.org>
Acked-by: Serge Hallyn <serue@us.ibm.com>
Signed-off-by: Eric W. Biederman <ebiederm@aristanetworks.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-12-11 11:24:54 -08:00
..
bin.c const: mark struct vm_struct_operations 2009-09-27 11:39:25 -07:00
dir.c sysfs: Factor out sysfs_rename from sysfs_rename_dir and sysfs_move_dir 2009-12-11 11:24:54 -08:00
file.c sysfs: In sysfs_chmod_file lazily propagate the mode change. 2009-12-11 11:24:54 -08:00
group.c
inode.c sysfs: Propagate renames to the vfs on demand 2009-12-11 11:24:54 -08:00
Kconfig
Makefile
mount.c
symlink.c sysfs: Implement sysfs_getattr & sysfs_permission 2009-12-11 11:24:54 -08:00
sysfs.h sysfs: Factor out sysfs_rename from sysfs_rename_dir and sysfs_move_dir 2009-12-11 11:24:54 -08:00