Skip to content

Commit

Permalink
sysfs: Mark sysfs_attr_ns static
Browse files Browse the repository at this point in the history
Nothing outside of fs/sysfs/file.c references this function, so mark it static.

Signed-off-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
joshtriplett authored and gregkh committed Nov 27, 2012
1 parent 9305842 commit 1f20dfd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fs/sysfs/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 1f20dfd

Please sign in to comment.