aboutsummaryrefslogtreecommitdiffstats
path: root/fs/9p/vfs_inode.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/9p/vfs_inode.c')
-rw-r--r--fs/9p/vfs_inode.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/9p/vfs_inode.c b/fs/9p/vfs_inode.c
index 4b3ad6ac9a41..b81ce206508d 100644
--- a/fs/9p/vfs_inode.c
+++ b/fs/9p/vfs_inode.c
@@ -387,8 +387,10 @@ error:
387 * @inode: inode to release 387 * @inode: inode to release
388 * 388 *
389 */ 389 */
390void v9fs_clear_inode(struct inode *inode) 390void v9fs_evict_inode(struct inode *inode)
391{ 391{
392 truncate_inode_pages(inode->i_mapping, 0);
393 end_writeback(inode);
392 filemap_fdatawrite(inode->i_mapping); 394 filemap_fdatawrite(inode->i_mapping);
393 395
394#ifdef CONFIG_9P_FSCACHE 396#ifdef CONFIG_9P_FSCACHE