|
@@ -451,9 +451,9 @@ void v9fs_evict_inode(struct inode *inode)
|
|
|
{
|
|
{
|
|
|
struct v9fs_inode *v9inode = V9FS_I(inode);
|
|
struct v9fs_inode *v9inode = V9FS_I(inode);
|
|
|
|
|
|
|
|
- truncate_inode_pages_final(inode->i_mapping);
|
|
|
|
|
|
|
+ truncate_inode_pages_final(&inode->i_data);
|
|
|
clear_inode(inode);
|
|
clear_inode(inode);
|
|
|
- filemap_fdatawrite(inode->i_mapping);
|
|
|
|
|
|
|
+ filemap_fdatawrite(&inode->i_data);
|
|
|
|
|
|
|
|
v9fs_cache_inode_put_cookie(inode);
|
|
v9fs_cache_inode_put_cookie(inode);
|
|
|
/* clunk the fid stashed in writeback_fid */
|
|
/* clunk the fid stashed in writeback_fid */
|