aboutsummaryrefslogtreecommitdiff
path: root/kernel/profile.c
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2009-11-20 16:08:57 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2009-12-11 11:24:54 -0800
commitca1bab38195d66bdf42320a99cc7359434a271d3 (patch)
tree4394403b4a85fb269d052b7852b41ee0f7ba8a88 /kernel/profile.c
parent832b6af198aefe6034310e124594cc8b833c0ef9 (diff)
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>
Diffstat (limited to 'kernel/profile.c')
0 files changed, 0 insertions, 0 deletions