LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [RFC: 2.6 patch] make __put_super() static
@ 2008-02-17  8:19 Adrian Bunk
  0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2008-02-17  8:19 UTC (permalink / raw)
  To: viro; +Cc: linux-fsdevel, linux-kernel

This patch makes the needlessly global __put_super() static.

Signed-off-by: Adrian Bunk <bunk@kernel.org>

---

 fs/super.c         |    2 +-
 include/linux/fs.h |    1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

2f076cdd5f1d693cc46559d48df6b060242e7f4c diff --git a/fs/super.c b/fs/super.c
index 88811f6..260f4f4 100644
--- a/fs/super.c
+++ b/fs/super.c
@@ -115,7 +115,7 @@ static inline void destroy_super(struct super_block *s)
  * Drop a superblock's refcount.  Returns non-zero if the superblock was
  * destroyed.  The caller must hold sb_lock.
  */
-int __put_super(struct super_block *sb)
+static int __put_super(struct super_block *sb)
 {
 	int ret = 0;
 
diff --git a/include/linux/fs.h b/include/linux/fs.h
index 23528b8..f16e8fc 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -1471,7 +1471,6 @@ extern int get_sb_pseudo(struct file_system_type *, char *,
 	const struct super_operations *ops, unsigned long,
 	struct vfsmount *mnt);
 extern int simple_set_mnt(struct vfsmount *mnt, struct super_block *sb);
-int __put_super(struct super_block *sb);
 int __put_super_and_need_restart(struct super_block *sb);
 void unnamed_dev_init(void);
 


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-02-17  8:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-17  8:19 [RFC: 2.6 patch] make __put_super() static Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).