Name

sysfs_remove_file_ns — remove an object attribute with a custom ns tag

Synopsis

void sysfs_remove_file_ns (struct kobject * kobj,
 const struct attribute * attr,
 const void * ns);
 

Arguments

struct kobject * kobj

object we're acting for

const struct attribute * attr

attribute descriptor

const void * ns

namespace tag of the file to remove

Description

Hash the attribute name and namespace tag and kill the victim.