patch-2.3.99-pre1 linux/fs/binfmt_script.c

Next file: linux/fs/coda/psdev.c
Previous file: linux/fs/binfmt_misc.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.51/linux/fs/binfmt_script.c linux/fs/binfmt_script.c
@@ -13,7 +13,7 @@
 #include <linux/init.h>
 #include <linux/smp_lock.h>
 
-static int do_load_script(struct linux_binprm *bprm,struct pt_regs *regs)
+static int load_script(struct linux_binprm *bprm,struct pt_regs *regs)
 {
 	char *cp, *i_name, *i_arg;
 	struct dentry * dentry;
@@ -92,15 +92,6 @@
 	if (retval < 0)
 		return retval;
 	return search_binary_handler(bprm,regs);
-}
-
-static int load_script(struct linux_binprm *bprm,struct pt_regs *regs)
-{
-	int retval;
-	MOD_INC_USE_COUNT;
-	retval = do_load_script(bprm,regs);
-	MOD_DEC_USE_COUNT;
-	return retval;
 }
 
 struct linux_binfmt script_format = {

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)