]> bbs.cooldavid.org Git - net-next-2.6.git/commit - fs/inode.c
new helper: end_writeback()
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 5 Jun 2010 00:55:25 +0000 (20:55 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 9 Aug 2010 20:47:49 +0000 (16:47 -0400)
commitb0683aa638b3326c6fc22e5290dfa75e08bd83f5
tree8287f1eff3c76dc7cf6c42208efebb1510b075b2
parent661074e91b1da1ee262dfde6dd836deacccb9def
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>
fs/hugetlbfs/inode.c
fs/inode.c
include/linux/fs.h