diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2009-11-21 01:08:57 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-12-11 20:24:54 +0100 |
commit | ca1bab38195d66bdf42320a99cc7359434a271d3 (patch) | |
tree | 4394403b4a85fb269d052b7852b41ee0f7ba8a88 /fs/sysfs/inode.c | |
parent | sysfs: Propagate renames to the vfs on demand (diff) | |
download | linux-ca1bab38195d66bdf42320a99cc7359434a271d3.tar.xz linux-ca1bab38195d66bdf42320a99cc7359434a271d3.zip |
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 'fs/sysfs/inode.c')
0 files changed, 0 insertions, 0 deletions