diff options
Diffstat (limited to 'fs/proc')
-rw-r--r-- | fs/proc/inode.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/proc/inode.c b/fs/proc/inode.c index 133c28685105..effa6c0c467a 100644 --- a/fs/proc/inode.c +++ b/fs/proc/inode.c | |||
@@ -60,6 +60,8 @@ static void proc_delete_inode(struct inode *inode) | |||
60 | struct proc_dir_entry *de; | 60 | struct proc_dir_entry *de; |
61 | struct task_struct *tsk; | 61 | struct task_struct *tsk; |
62 | 62 | ||
63 | truncate_inode_pages(&inode->i_data, 0); | ||
64 | |||
63 | /* Let go of any associated process */ | 65 | /* Let go of any associated process */ |
64 | tsk = PROC_I(inode)->task; | 66 | tsk = PROC_I(inode)->task; |
65 | if (tsk) | 67 | if (tsk) |