[-mm patch] fs/inode.c: make iprune_mutex static

From: Adrian Bunk
Date: Mon Feb 20 2006 - 17:36:34 EST


There's no reason for iprune_mutex being global.


Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

---

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..

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/