diff options
Diffstat (limited to 'fs/file.c')
-rw-r--r-- | fs/file.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -750,6 +750,7 @@ bool get_close_on_exec(unsigned int fd) | |||
750 | 750 | ||
751 | static int do_dup2(struct files_struct *files, | 751 | static int do_dup2(struct files_struct *files, |
752 | struct file *file, unsigned fd, unsigned flags) | 752 | struct file *file, unsigned fd, unsigned flags) |
753 | __releases(&files->file_lock) | ||
753 | { | 754 | { |
754 | struct file *tofree; | 755 | struct file *tofree; |
755 | struct fdtable *fdt; | 756 | struct fdtable *fdt; |