mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-04 20:19:47 +08:00
sysfs: Mark sysfs_attr_ns static
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>
This commit is contained in:
parent
93058424af
commit
1f20dfdaed
@ -485,7 +485,7 @@ const struct file_operations sysfs_file_operations = {
|
||||
.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)
|
||||
{
|
||||
struct sysfs_dirent *dir_sd = kobj->sd;
|
||||
|
Loading…
Reference in New Issue
Block a user