From 6dd778f9528c1acc17dbfca685f51bd5c3750d45 Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Sun, 22 Mar 1998 23:27:12 +0000 Subject: o Fix handling of interrupted syscalls. o Just count missed heartbeats on Indys but don't print a messages. This was a bug by itself. o Fix a crash in exit_mmap(). o Fix scanmem(). o Fix clear_active_bh(), a ~ was missing causing weak performance. o Remove experimental cache instructions from stackframe.h. It wasn't improving performance as I was hoping. o Shrink the size of the exception handler routines in uaccess.h. o Cleanup, remove dead code in various files. --- fs/binfmt_elf.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'fs') diff --git a/fs/binfmt_elf.c b/fs/binfmt_elf.c index d03873a3b..e75692a3f 100644 --- a/fs/binfmt_elf.c +++ b/fs/binfmt_elf.c @@ -391,7 +391,7 @@ static unsigned long load_elf_interp(struct elfhdr * interp_elf_ex, error = ((unsigned long) interp_elf_ex->e_entry) + load_addr; out_close: - fput(file); +// fput(file); sys_close(elf_exec_fileno); out_free: kfree(elf_phdata); @@ -731,7 +731,7 @@ do_load_elf_binary(struct linux_binprm * bprm, struct pt_regs * regs) } } set_fs(old_fs); - fput(file); /* all done with the file */ +// fput(file); /* all done with the file */ elf_entry += load_bias; elf_bss += load_bias; @@ -850,7 +850,7 @@ out_free_interp: if (elf_interpreter) kfree(elf_interpreter); out_free_file: - fput(file); +// fput(file); sys_close(elf_exec_fileno); out_free_ph: kfree(elf_phdata); -- cgit v1.2.3