aboutsummaryrefslogtreecommitdiffstats
path: root/fs/file_table.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/file_table.c')
-rw-r--r--fs/file_table.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/file_table.c b/fs/file_table.c
index bc35a40417d7..24f25a057d9c 100644
--- a/fs/file_table.c
+++ b/fs/file_table.c
@@ -174,6 +174,7 @@ void fastcall __fput(struct file *file)
174 fops_put(file->f_op); 174 fops_put(file->f_op);
175 if (file->f_mode & FMODE_WRITE) 175 if (file->f_mode & FMODE_WRITE)
176 put_write_access(inode); 176 put_write_access(inode);
177 put_pid(file->f_owner.pid);
177 file_kill(file); 178 file_kill(file);
178 file->f_dentry = NULL; 179 file->f_dentry = NULL;
179 file->f_vfsmnt = NULL; 180 file->f_vfsmnt = NULL;