git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ocfs2/net: Use wait_event() in o2net_send_message_vec()
[pandora-kernel.git]
/
fs
/
binfmt_som.c
diff --git
a/fs/binfmt_som.c
b/fs/binfmt_som.c
index
08644a6
..
eff74b9
100644
(file)
--- a/
fs/binfmt_som.c
+++ b/
fs/binfmt_som.c
@@
-188,7
+188,6
@@
out:
static int
load_som_binary(struct linux_binprm * bprm, struct pt_regs * regs)
{
static int
load_som_binary(struct linux_binprm * bprm, struct pt_regs * regs)
{
- int som_exec_fileno;
int retval;
unsigned int size;
unsigned long som_entry;
int retval;
unsigned int size;
unsigned long som_entry;
@@
-220,12
+219,6
@@
load_som_binary(struct linux_binprm * bprm, struct pt_regs * regs)
goto out_free;
}
goto out_free;
}
- retval = get_unused_fd();
- if (retval < 0)
- goto out_free;
- get_file(bprm->file);
- fd_install(som_exec_fileno = retval, bprm->file);
-
/* Flush all traces of the currently running executable */
retval = flush_old_exec(bprm);
if (retval)
/* Flush all traces of the currently running executable */
retval = flush_old_exec(bprm);
if (retval)