summaryrefslogtreecommitdiffstats
path: root/fs/sysfs/inode.c
diff options
context:
space:
mode:
authorTejun Heo2007-08-02 14:38:02 +0200
committerGreg Kroah-Hartman2007-10-12 23:51:03 +0200
commitff869de7bf5e76adffebd3a176c1c73bca7eddb7 (patch)
tree547e0a58953896eb897cdd2bf5eb89cfdfff450a /fs/sysfs/inode.c
parentsysfs: cosmetic changes in sysfs_lookup() (diff)
downloadkernel-qcow2-linux-ff869de7bf5e76adffebd3a176c1c73bca7eddb7.tar.gz
kernel-qcow2-linux-ff869de7bf5e76adffebd3a176c1c73bca7eddb7.tar.xz
kernel-qcow2-linux-ff869de7bf5e76adffebd3a176c1c73bca7eddb7.zip
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 'fs/sysfs/inode.c')
0 files changed, 0 insertions, 0 deletions