sh: Drop the BKL from sys_execve() on SH-5.
Brings it in line with the SH implementation, the BKL is not necessary here. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
parent
8ed3592e56
commit
5e6136135d
1 changed files with 0 additions and 2 deletions
|
@ -520,7 +520,6 @@ asmlinkage int sys_execve(char *ufilename, char **uargv,
|
||||||
int error;
|
int error;
|
||||||
char *filename;
|
char *filename;
|
||||||
|
|
||||||
lock_kernel();
|
|
||||||
filename = getname((char __user *)ufilename);
|
filename = getname((char __user *)ufilename);
|
||||||
error = PTR_ERR(filename);
|
error = PTR_ERR(filename);
|
||||||
if (IS_ERR(filename))
|
if (IS_ERR(filename))
|
||||||
|
@ -537,7 +536,6 @@ asmlinkage int sys_execve(char *ufilename, char **uargv,
|
||||||
}
|
}
|
||||||
putname(filename);
|
putname(filename);
|
||||||
out:
|
out:
|
||||||
unlock_kernel();
|
|
||||||
return error;
|
return error;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue