aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/fs.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2010-06-04 20:55:25 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2010-08-09 16:47:49 -0400
commitb0683aa638b3326c6fc22e5290dfa75e08bd83f5 (patch)
tree8287f1eff3c76dc7cf6c42208efebb1510b075b2 /include/linux/fs.h
parent661074e91b1da1ee262dfde6dd836deacccb9def (diff)
new helper: end_writeback()
Essentially, the minimal variant of ->evict_inode(). It's a trimmed-down clear_inode(), sans any fs callbacks. Once it returns we know that no async writeback will be happening; every ->evict_inode() instance should do that once and do that before doing anything ->write_inode() could interfere with (e.g. freeing the on-disk inode). Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/fs.h')
-rw-r--r--include/linux/fs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h
index e0ecb8e75ebf..3c23c1dcb1bd 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -2184,6 +2184,7 @@ extern void unlock_new_inode(struct inode *);
2184extern void __iget(struct inode * inode); 2184extern void __iget(struct inode * inode);
2185extern void iget_failed(struct inode *); 2185extern void iget_failed(struct inode *);
2186extern void clear_inode(struct inode *); 2186extern void clear_inode(struct inode *);
2187extern void end_writeback(struct inode *);
2187extern void destroy_inode(struct inode *); 2188extern void destroy_inode(struct inode *);
2188extern void __destroy_inode(struct inode *); 2189extern void __destroy_inode(struct inode *);
2189extern struct inode *new_inode(struct super_block *); 2190extern struct inode *new_inode(struct super_block *);