diff options
Diffstat (limited to 'fs/bfs/inode.c')
-rw-r--r-- | fs/bfs/inode.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/bfs/inode.c b/fs/bfs/inode.c index 64e0fb33fc0c..628c2c1a7d7e 100644 --- a/fs/bfs/inode.c +++ b/fs/bfs/inode.c | |||
@@ -143,6 +143,8 @@ static void bfs_delete_inode(struct inode * inode) | |||
143 | 143 | ||
144 | dprintf("ino=%08lx\n", inode->i_ino); | 144 | dprintf("ino=%08lx\n", inode->i_ino); |
145 | 145 | ||
146 | truncate_inode_pages(&inode->i_data, 0); | ||
147 | |||
146 | if (inode->i_ino < BFS_ROOT_INO || inode->i_ino > info->si_lasti) { | 148 | if (inode->i_ino < BFS_ROOT_INO || inode->i_ino > info->si_lasti) { |
147 | printf("invalid ino=%08lx\n", inode->i_ino); | 149 | printf("invalid ino=%08lx\n", inode->i_ino); |
148 | return; | 150 | return; |