diff options
Diffstat (limited to 'fs/jfs/inode.c')
-rw-r--r-- | fs/jfs/inode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/jfs/inode.c b/fs/jfs/inode.c index f4aab719add5..6f8fe72c2a7a 100644 --- a/fs/jfs/inode.c +++ b/fs/jfs/inode.c | |||
@@ -154,7 +154,7 @@ void jfs_evict_inode(struct inode *inode) | |||
154 | dquot_initialize(inode); | 154 | dquot_initialize(inode); |
155 | 155 | ||
156 | if (JFS_IP(inode)->fileset == FILESYSTEM_I) { | 156 | if (JFS_IP(inode)->fileset == FILESYSTEM_I) { |
157 | truncate_inode_pages(&inode->i_data, 0); | 157 | truncate_inode_pages_final(&inode->i_data); |
158 | 158 | ||
159 | if (test_cflag(COMMIT_Freewmap, inode)) | 159 | if (test_cflag(COMMIT_Freewmap, inode)) |
160 | jfs_free_zero_link(inode); | 160 | jfs_free_zero_link(inode); |
@@ -168,7 +168,7 @@ void jfs_evict_inode(struct inode *inode) | |||
168 | dquot_free_inode(inode); | 168 | dquot_free_inode(inode); |
169 | } | 169 | } |
170 | } else { | 170 | } else { |
171 | truncate_inode_pages(&inode->i_data, 0); | 171 | truncate_inode_pages_final(&inode->i_data); |
172 | } | 172 | } |
173 | clear_inode(inode); | 173 | clear_inode(inode); |
174 | dquot_drop(inode); | 174 | dquot_drop(inode); |