diff options
| -rw-r--r-- | fs/file.c | 1 |
1 files changed, 0 insertions, 1 deletions
| @@ -631,7 +631,6 @@ int __close_fd(struct files_struct *files, unsigned fd) | |||
| 631 | if (!file) | 631 | if (!file) |
| 632 | goto out_unlock; | 632 | goto out_unlock; |
| 633 | rcu_assign_pointer(fdt->fd[fd], NULL); | 633 | rcu_assign_pointer(fdt->fd[fd], NULL); |
| 634 | __clear_close_on_exec(fd, fdt); | ||
| 635 | __put_unused_fd(files, fd); | 634 | __put_unused_fd(files, fd); |
| 636 | spin_unlock(&files->file_lock); | 635 | spin_unlock(&files->file_lock); |
| 637 | return filp_close(file, files); | 636 | return filp_close(file, files); |
