diff options
author | Tejun Heo <htejun@gmail.com> | 2007-08-02 12:38:02 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-10-12 21:51:03 (GMT) |
commit | ff869de7bf5e76adffebd3a176c1c73bca7eddb7 (patch) | |
tree | 547e0a58953896eb897cdd2bf5eb89cfdfff450a /drivers/pci/hotplug/cpqphp_core.c | |
parent | a7a0475497f9018e2e28cd421ee467d2ad68643e (diff) | |
download | linux-fsl-qoriq-ff869de7bf5e76adffebd3a176c1c73bca7eddb7.tar.xz |
sysfs: simplify sysfs_rename_dir()
With the shadow directories gone, sysfs_rename_dir() can be simplified.
* parent doesn't need to be grabbed separately. Just access
old_dentry->d_parent.
* parent sd can never change. Remove code to move under the new
parent.
* Massage comments a bit.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/pci/hotplug/cpqphp_core.c')
0 files changed, 0 insertions, 0 deletions