diff options
| author | Nick Piggin <npiggin@suse.de> | 2010-01-29 18:38:30 -0500 |
|---|---|---|
| committer | Thomas Gleixner <tglx@linutronix.de> | 2010-04-27 11:32:47 -0400 |
| commit | 1ea5ba6f5b20144fa59a8cf7c54efe17459d1236 (patch) | |
| tree | b2c272a63ca6f953397b0da6fcbd9f8bdb0a61f6 /include/linux | |
| parent | 280c10e37fa879b97c0942e024e0b02059173ea0 (diff) | |
fs-inode_lock-scale-8
Make inode_hash_lock private by adding a function __remove_inode_hash
that can be used by filesystems defining their own drop_inode functions.
Signed-off-by: Nick Piggin <npiggin@suse.de>
Signed-off-by: John Stultz <johnstul@us.ibm.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/fs.h | 1 | ||||
| -rw-r--r-- | include/linux/writeback.h | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index fc4222374cd7..3551528a25f6 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h | |||
| @@ -2184,6 +2184,7 @@ extern int should_remove_suid(struct dentry *); | |||
| 2184 | extern int file_remove_suid(struct file *); | 2184 | extern int file_remove_suid(struct file *); |
| 2185 | 2185 | ||
| 2186 | extern void __insert_inode_hash(struct inode *, unsigned long hashval); | 2186 | extern void __insert_inode_hash(struct inode *, unsigned long hashval); |
| 2187 | extern void __remove_inode_hash(struct inode *); | ||
| 2187 | extern void remove_inode_hash(struct inode *); | 2188 | extern void remove_inode_hash(struct inode *); |
| 2188 | static inline void insert_inode_hash(struct inode *inode) { | 2189 | static inline void insert_inode_hash(struct inode *inode) { |
| 2189 | __insert_inode_hash(inode, inode->i_ino); | 2190 | __insert_inode_hash(inode, inode->i_ino); |
diff --git a/include/linux/writeback.h b/include/linux/writeback.h index 3e504f49753c..05479e576a77 100644 --- a/include/linux/writeback.h +++ b/include/linux/writeback.h | |||
| @@ -11,7 +11,6 @@ struct backing_dev_info; | |||
| 11 | 11 | ||
| 12 | extern spinlock_t sb_inode_list_lock; | 12 | extern spinlock_t sb_inode_list_lock; |
| 13 | extern spinlock_t wb_inode_list_lock; | 13 | extern spinlock_t wb_inode_list_lock; |
| 14 | extern spinlock_t inode_hash_lock; | ||
| 15 | extern struct list_head inode_in_use; | 14 | extern struct list_head inode_in_use; |
| 16 | extern struct list_head inode_unused; | 15 | extern struct list_head inode_unused; |
| 17 | 16 | ||
