diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2010-10-23 11:11:40 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2010-10-25 21:26:11 -0400 |
commit | 7de9c6ee3ecffd99e1628e81a5ea5468f7581a1f (patch) | |
tree | 88787e77ba8a253d0a26aeda4bd5e58532d592e0 /include/linux/fs.h | |
parent | 646ec4615cd05972581c9c5342ed7a1e77df17bb (diff) |
new helper: ihold()
Clones an existing reference to inode; caller must already hold one.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/fs.h')
-rw-r--r-- | include/linux/fs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index d43e8b6685a2..bd6ae6c71fc8 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h | |||
@@ -2171,6 +2171,7 @@ 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 ihold(struct inode * inode); | ||
2174 | extern void iput(struct inode *); | 2175 | extern void iput(struct inode *); |
2175 | extern struct inode * igrab(struct inode *); | 2176 | extern struct inode * igrab(struct inode *); |
2176 | extern ino_t iunique(struct super_block *, ino_t); | 2177 | extern ino_t iunique(struct super_block *, ino_t); |