Commit 1f20dfda authored by Josh Triplett's avatar Josh Triplett Committed by Greg Kroah-Hartman
Browse files

sysfs: Mark sysfs_attr_ns static



Nothing outside of fs/sysfs/file.c references this function, so mark it static.

Signed-off-by: default avatarJosh Triplett <josh@joshtriplett.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 93058424
...@@ -485,8 +485,8 @@ const struct file_operations sysfs_file_operations = { ...@@ -485,8 +485,8 @@ const struct file_operations sysfs_file_operations = {
.poll = sysfs_poll, .poll = sysfs_poll,
}; };
int sysfs_attr_ns(struct kobject *kobj, const struct attribute *attr, static int sysfs_attr_ns(struct kobject *kobj, const struct attribute *attr,
const void **pns) const void **pns)
{ {
struct sysfs_dirent *dir_sd = kobj->sd; struct sysfs_dirent *dir_sd = kobj->sd;
const struct sysfs_ops *ops; const struct sysfs_ops *ops;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment