diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2009-05-08 21:31:17 +0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2009-06-12 05:36:08 +0400 |
commit | 6fac98dd218653c6aff8a0f56305c424930cea2a (patch) | |
tree | 0c5bdca0092e5ec3b201bae958071a7e8385409d /arch/alpha/kernel | |
parent | bbd6851a3213a525128473e978b692ab6ac11aba (diff) | |
download | linux-6fac98dd218653c6aff8a0f56305c424930cea2a.tar.xz |
Push BKL into do_mount()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/alpha/kernel')
-rw-r--r-- | arch/alpha/kernel/osf_sys.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/alpha/kernel/osf_sys.c b/arch/alpha/kernel/osf_sys.c index 42ee05981e71..9a3334ae282e 100644 --- a/arch/alpha/kernel/osf_sys.c +++ b/arch/alpha/kernel/osf_sys.c @@ -371,8 +371,6 @@ SYSCALL_DEFINE4(osf_mount, unsigned long, typenr, char __user *, path, int retval = -EINVAL; char *name; - lock_kernel(); - name = getname(path); retval = PTR_ERR(name); if (IS_ERR(name)) @@ -392,7 +390,6 @@ SYSCALL_DEFINE4(osf_mount, unsigned long, typenr, char __user *, path, } putname(name); out: - unlock_kernel(); return retval; } |