Re: [PATCH 17/20] sysfs: Merge sysfs_rename_dir and sysfs_move_dir

Tejun Heo
2009-05-21T09:42:46Z

Eric W. Biederman wrote:
> From: Eric W. Biederman <ebiederm@xmission.com>
>
> 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.
>
> Signed-off-by: Eric W. Biederman <ebiederm@aristanetworks.com>

Acked-by: Tejun Heo <tj@kernel.org>

--
tejun