aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2010-10-23 07:15:32 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2010-10-25 21:26:10 -0400
commit646ec4615cd05972581c9c5342ed7a1e77df17bb (patch)
tree23c252d906f5356205b4d42c4ff9b4e6f70ebca2 /include
parentf7899bd5472e8e99741369b4a32eca44e5282a85 (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.h5
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
2172extern int inode_init_always(struct super_block *, struct inode *); 2172extern int inode_init_always(struct super_block *, struct inode *);
2173extern void inode_init_once(struct inode *); 2173extern void inode_init_once(struct inode *);
2174extern void inode_add_to_lists(struct super_block *, struct inode *);
2175extern void iput(struct inode *); 2174extern void iput(struct inode *);
2176extern struct inode * igrab(struct inode *); 2175extern struct inode * igrab(struct inode *);
2177extern ino_t iunique(struct super_block *, ino_t); 2176extern ino_t iunique(struct super_block *, ino_t);
@@ -2202,9 +2201,11 @@ extern int file_remove_suid(struct file *);
2202 2201
2203extern void __insert_inode_hash(struct inode *, unsigned long hashval); 2202extern void __insert_inode_hash(struct inode *, unsigned long hashval);
2204extern void remove_inode_hash(struct inode *); 2203extern void remove_inode_hash(struct inode *);
2205static inline void insert_inode_hash(struct inode *inode) { 2204static 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}
2208extern void inode_sb_list_add(struct inode *inode);
2208 2209
2209#ifdef CONFIG_BLOCK 2210#ifdef CONFIG_BLOCK
2210extern void submit_bio(int, struct bio *); 2211extern void submit_bio(int, struct bio *);