public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [-mm patch] fs/inode.c: make iprune_mutex static
@ 2006-02-20 22:36 Adrian Bunk
  0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2006-02-20 22:36 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel

There's no reason for iprune_mutex being global.


Signed-off-by: Adrian Bunk <bunk@stusta.de>

---

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

--- linux-2.6.16-rc4-mm1-full/include/linux/fs.h.old	2006-02-20 19:43:08.000000000 +0100
+++ linux-2.6.16-rc4-mm1-full/include/linux/fs.h	2006-02-20 19:43:14.000000000 +0100
@@ -1562,7 +1562,6 @@
 extern struct inode *new_inode(struct super_block *);
 extern int remove_suid(struct dentry *);
 extern void remove_dquot_ref(struct super_block *, int, struct list_head *);
-extern struct mutex iprune_mutex;
 
 extern void __insert_inode_hash(struct inode *, unsigned long hashval);
 extern void remove_inode_hash(struct inode *);
--- linux-2.6.16-rc4-mm1-full/fs/inode.c.old	2006-02-20 19:43:23.000000000 +0100
+++ linux-2.6.16-rc4-mm1-full/fs/inode.c	2006-02-20 19:43:32.000000000 +0100
@@ -91,7 +91,7 @@
  * from its final dispose_list, the struct super_block they refer to
  * (for inode->i_sb->s_op) may already have been freed and reused.
  */
-DEFINE_MUTEX(iprune_mutex);
+static DEFINE_MUTEX(iprune_mutex);
 
 /*
  * Statistics gathering..


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

only message in thread, other threads:[~2006-02-20 22:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-20 22:36 [-mm patch] fs/inode.c: make iprune_mutex 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