sanitize do_pipe_flags() callers in arch

* hpux_pipe() - no need to take BKL
* sys32_pipe() in arch/x86/ia32 and xtensa_pipe() in arch/xtensa -
	no need at all, since both functions are open-coded sys_pipe()

Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
Al Viro 2009-12-16 00:34:13 -05:00
commit 853b3da10d
5 changed files with 2 additions and 27 deletions

View file

@ -445,12 +445,7 @@ done:
int hpux_pipe(int *kstack_fildes)
{
int error;
lock_kernel();
error = do_pipe_flags(kstack_fildes, 0);
unlock_kernel();
return error;
return do_pipe_flags(kstack_fildes, 0);
}
/* lies - says it works, but it really didn't lock anything */