Commit bdfc326614b90e7bc47ee4a8fed05988555f0169

Authored by Adrian Bunk
Committed by Linus Torvalds
1 parent ca5734db60

[PATCH] fs/inode.c: make iprune_mutex static

There's no reason for iprune_mutex being global.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

Showing 2 changed files with 1 additions and 2 deletions Side-by-side Diff

... ... @@ -91,7 +91,7 @@
91 91 * from its final dispose_list, the struct super_block they refer to
92 92 * (for inode->i_sb->s_op) may already have been freed and reused.
93 93 */
94   -DEFINE_MUTEX(iprune_mutex);
  94 +static DEFINE_MUTEX(iprune_mutex);
95 95  
96 96 /*
97 97 * Statistics gathering..
... ... @@ -1558,7 +1558,6 @@
1558 1558 extern struct inode *new_inode(struct super_block *);
1559 1559 extern int remove_suid(struct dentry *);
1560 1560 extern void remove_dquot_ref(struct super_block *, int, struct list_head *);
1561   -extern struct mutex iprune_mutex;
1562 1561  
1563 1562 extern void __insert_inode_hash(struct inode *, unsigned long hashval);
1564 1563 extern void remove_inode_hash(struct inode *);