diff options
| author | David Howells <[email protected]> | 2008-02-07 00:15:27 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2008-02-07 08:42:26 -0800 |
| commit | b46980feed937868d3333514028bfbe9a651e4ca (patch) | |
| tree | 97e610932986223932887af3c0ea00234856e540 /include/linux | |
| parent | e231c2ee64eb1c5cd3c63c31da9dac7d888dcf7f (diff) | |
iget: introduce a function to register iget failure
Introduce a function to register failure in an inode construction path. This
includes marking the inode under construction as bad, unlocking it and
releasing it.
Signed-off-by: David Howells <[email protected]>
Acked-by: Christoph Hellwig <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux')
| -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 2925f7011ece..d202600d36bd 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -1780,6 +1780,7 @@ static inline struct inode *iget(struct super_block *sb, unsigned long ino) } extern void __iget(struct inode * inode); +extern void iget_failed(struct inode *); extern void clear_inode(struct inode *); extern void destroy_inode(struct inode *); extern struct inode *new_inode(struct super_block *); |