Name

sysfs_rename_link — rename symlink in object's directory.

Synopsis

int sysfs_rename_link (struct kobject * kobj,
 struct kobject * targ,
 const char * old,
 const char * new);
 

Arguments

kobj

object we're acting for.

targ

object we're pointing to.

old

previous name of the symlink.

new

new name of the symlink.

Description

A helper function for the common rename symlink idiom.