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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



There's no reason for iprune_mutex being global.


Signed-off-by: Adrian Bunk <[email protected]>

---

 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux