Scroll to navigation

SYSFS_RENAME_LINK_NS(9) The Filesystem for Exporting K SYSFS_RENAME_LINK_NS(9)

NAME

sysfs_rename_link_ns - rename symlink in object's directory.

SYNOPSIS

int sysfs_rename_link_ns(struct kobject * kobj, struct kobject * targ, const char * old, const char * new, const void * new_ns);

ARGUMENTS

struct kobject * kobj
object we're acting for.

struct kobject * targ

object we're pointing to.

const char * old

previous name of the symlink.

const char * new

new name of the symlink.

const void * new_ns

new namespace of the symlink.

DESCRIPTION

A helper function for the common rename symlink idiom.

COPYRIGHT

September 2017 Kernel Hackers Manual 4.12