diff options
Diffstat (limited to 'fs/bfs')
-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 64e0fb3..628c2c1 100644 --- a/fs/bfs/inode.c +++ b/fs/bfs/inode.c @@ -143,6 +143,8 @@ static void bfs_delete_inode(struct inode * inode) dprintf("ino=%08lx\n", inode->i_ino); + truncate_inode_pages(&inode->i_data, 0); + if (inode->i_ino < BFS_ROOT_INO || inode->i_ino > info->si_lasti) { printf("invalid ino=%08lx\n", inode->i_ino); return; |