public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] sysfs: mark a locally-only used function static
@ 2009-10-11  1:02 Stefan Richter
  2009-10-11  4:42 ` Greg KH
  2009-10-13 14:42 ` David P. Quigley
  0 siblings, 2 replies; 6+ messages in thread
From: Stefan Richter @ 2009-10-11  1:02 UTC (permalink / raw)
  To: James Morris; +Cc: David P. Quigley, Stephen D. Smalley, linux-kernel

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
---
diff --git a/fs/sysfs/inode.c b/fs/sysfs/inode.c
index e28cecf..e144351 100644
--- a/fs/sysfs/inode.c
+++ b/fs/sysfs/inode.c
@@ -46,7 +46,7 @@ int __init sysfs_inode_init(void)
 	return bdi_init(&sysfs_backing_dev_info);
 }
 
-struct sysfs_inode_attrs *sysfs_init_inode_attrs(struct sysfs_dirent *sd)
+static struct sysfs_inode_attrs *sysfs_init_inode_attrs(struct sysfs_dirent *sd)
 {
 	struct sysfs_inode_attrs *attrs;
 	struct iattr *iattrs;
@@ -64,6 +64,7 @@ struct sysfs_inode_attrs *sysfs_init_inode_attrs(struct sysfs_dirent *sd)
 
 	return attrs;
 }
+
 int sysfs_setattr(struct dentry * dentry, struct iattr * iattr)
 {
 	struct inode * inode = dentry->d_inode;

-- 
Stefan Richter
-=====-==--= =-=- -=-==
http://arcgraph.de/sr/


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-10-14 18:48 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-11  1:02 [PATCH] sysfs: mark a locally-only used function static Stefan Richter
2009-10-11  4:42 ` Greg KH
2009-10-11  7:52   ` Stefan Richter
2009-10-12 22:10     ` Greg KH
2009-10-13 14:42 ` David P. Quigley
2009-10-14 18:47   ` [PATCH resend] " Stefan Richter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox