diff options
author | Eric W. Biederman <[email protected]> | 2009-11-20 16:08:57 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2009-12-11 11:24:54 -0800 |
commit | ca1bab38195d66bdf42320a99cc7359434a271d3 (patch) | |
tree | 4394403b4a85fb269d052b7852b41ee0f7ba8a88 /net/lapb/lapb_iface.c | |
parent | 832b6af198aefe6034310e124594cc8b833c0ef9 (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 <[email protected]>
Acked-by: Serge Hallyn <[email protected]>
Signed-off-by: Eric W. Biederman <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions