From: Stefan Richter <stefanr@s5r6.in-berlin.de>
To: James Morris <jmorris@namei.org>
Cc: "David P. Quigley" <dpquigl@tycho.nsa.gov>,
"Stephen D. Smalley" <sds@tycho.nsa.gov>,
linux-kernel@vger.kernel.org
Subject: [PATCH] sysfs: mark a locally-only used function static
Date: Sun, 11 Oct 2009 03:02:46 +0200 (CEST) [thread overview]
Message-ID: <tkrat.974f8a5e166a4c9f@s5r6.in-berlin.de> (raw)
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/
next reply other threads:[~2009-10-11 1:03 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-11 1:02 Stefan Richter [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=tkrat.974f8a5e166a4c9f@s5r6.in-berlin.de \
--to=stefanr@s5r6.in-berlin.de \
--cc=dpquigl@tycho.nsa.gov \
--cc=jmorris@namei.org \
--cc=linux-kernel@vger.kernel.org \
--cc=sds@tycho.nsa.gov \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®