diff options
author | Christoph Hellwig <hch@lst.de> | 2010-10-23 07:15:32 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2010-10-25 21:26:10 -0400 |
commit | 646ec4615cd05972581c9c5342ed7a1e77df17bb (patch) | |
tree | 23c252d906f5356205b4d42c4ff9b4e6f70ebca2 /include | |
parent | f7899bd5472e8e99741369b4a32eca44e5282a85 (diff) |
fs: remove inode_add_to_list/__inode_add_to_list
Split up inode_add_to_list/__inode_add_to_list. Locking for the two
lists will be split soon so these helpers really don't buy us much
anymore.
The __ prefixes for the sb list helpers will go away soon, but until
inode_lock is gone we'll need them to distinguish between the locked
and unlocked variants.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/fs.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index 876275fc0638..d43e8b6685a2 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h | |||
@@ -2171,7 +2171,6 @@ extern loff_t vfs_llseek(struct file *file, loff_t offset, int origin); | |||
2171 | 2171 | ||
2172 | extern int inode_init_always(struct super_block *, struct inode *); | 2172 | extern int inode_init_always(struct super_block *, struct inode *); |
2173 | extern void inode_init_once(struct inode *); | 2173 | extern void inode_init_once(struct inode *); |
2174 | extern void inode_add_to_lists(struct super_block *, struct inode *); | ||
2175 | extern void iput(struct inode *); | 2174 | extern void iput(struct inode *); |
2176 | extern struct inode * igrab(struct inode *); | 2175 | extern struct inode * igrab(struct inode *); |
2177 | extern ino_t iunique(struct super_block *, ino_t); | 2176 | extern ino_t iunique(struct super_block *, ino_t); |
@@ -2202,9 +2201,11 @@ extern int file_remove_suid(struct file *); | |||
2202 | 2201 | ||
2203 | extern void __insert_inode_hash(struct inode *, unsigned long hashval); | 2202 | extern void __insert_inode_hash(struct inode *, unsigned long hashval); |
2204 | extern void remove_inode_hash(struct inode *); | 2203 | extern void remove_inode_hash(struct inode *); |
2205 | static inline void insert_inode_hash(struct inode *inode) { | 2204 | static inline void insert_inode_hash(struct inode *inode) |
2205 | { | ||
2206 | __insert_inode_hash(inode, inode->i_ino); | 2206 | __insert_inode_hash(inode, inode->i_ino); |
2207 | } | 2207 | } |
2208 | extern void inode_sb_list_add(struct inode *inode); | ||
2208 | 2209 | ||
2209 | #ifdef CONFIG_BLOCK | 2210 | #ifdef CONFIG_BLOCK |
2210 | extern void submit_bio(int, struct bio *); | 2211 | extern void submit_bio(int, struct bio *); |