提交 1f20dfda 编写于 作者: J Josh Triplett 提交者: Greg Kroah-Hartman

sysfs: Mark sysfs_attr_ns static

Nothing outside of fs/sysfs/file.c references this function, so mark it static.
Signed-off-by: NJosh Triplett <josh@joshtriplett.org>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 93058424
......@@ -485,8 +485,8 @@ const struct file_operations sysfs_file_operations = {
.poll = sysfs_poll,
};
int sysfs_attr_ns(struct kobject *kobj, const struct attribute *attr,
const void **pns)
static int sysfs_attr_ns(struct kobject *kobj, const struct attribute *attr,
const void **pns)
{
struct sysfs_dirent *dir_sd = kobj->sd;
const struct sysfs_ops *ops;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册