diff options
| author | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2009-10-14 14:47:32 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-12-11 14:24:51 -0500 |
| commit | f38506c49dab2751567423865941f32f2ea61c45 (patch) | |
| tree | f57e3823be64fc4d11a631c27433097316c8fb94 /fs/sysfs | |
| parent | 68ea809af47d8a4dd92dd3a8720882767fdf51b6 (diff) | |
sysfs: mark a locally-only used function static
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Acked-by: David P. Quigley <dpquigl@tycho.nsa.gov>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs/sysfs')
| -rw-r--r-- | fs/sysfs/inode.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/sysfs/inode.c b/fs/sysfs/inode.c index e28cecf179f5..e1443518398e 100644 --- a/fs/sysfs/inode.c +++ b/fs/sysfs/inode.c | |||
| @@ -46,7 +46,7 @@ int __init sysfs_inode_init(void) | |||
| 46 | return bdi_init(&sysfs_backing_dev_info); | 46 | return bdi_init(&sysfs_backing_dev_info); |
| 47 | } | 47 | } |
| 48 | 48 | ||
| 49 | struct sysfs_inode_attrs *sysfs_init_inode_attrs(struct sysfs_dirent *sd) | 49 | static struct sysfs_inode_attrs *sysfs_init_inode_attrs(struct sysfs_dirent *sd) |
| 50 | { | 50 | { |
| 51 | struct sysfs_inode_attrs *attrs; | 51 | struct sysfs_inode_attrs *attrs; |
| 52 | struct iattr *iattrs; | 52 | struct iattr *iattrs; |
| @@ -64,6 +64,7 @@ struct sysfs_inode_attrs *sysfs_init_inode_attrs(struct sysfs_dirent *sd) | |||
| 64 | 64 | ||
| 65 | return attrs; | 65 | return attrs; |
| 66 | } | 66 | } |
| 67 | |||
| 67 | int sysfs_setattr(struct dentry * dentry, struct iattr * iattr) | 68 | int sysfs_setattr(struct dentry * dentry, struct iattr * iattr) |
| 68 | { | 69 | { |
| 69 | struct inode * inode = dentry->d_inode; | 70 | struct inode * inode = dentry->d_inode; |
