diff options
Diffstat (limited to 'fs/binfmt_elf.c')
-rw-r--r-- | fs/binfmt_elf.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/binfmt_elf.c b/fs/binfmt_elf.c index 537893a16014..8a04216e8b4d 100644 --- a/fs/binfmt_elf.c +++ b/fs/binfmt_elf.c | |||
@@ -759,7 +759,6 @@ static int load_elf_binary(struct linux_binprm * bprm, struct pt_regs * regs) | |||
759 | 759 | ||
760 | /* Discard our unneeded old files struct */ | 760 | /* Discard our unneeded old files struct */ |
761 | if (files) { | 761 | if (files) { |
762 | steal_locks(files); | ||
763 | put_files_struct(files); | 762 | put_files_struct(files); |
764 | files = NULL; | 763 | files = NULL; |
765 | } | 764 | } |