summaryrefslogtreecommitdiffstats
path: root/net/khttpd
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-07-08 00:53:00 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-07-08 00:53:00 +0000
commitb8553086288629b4efb77e97f5582e08bc50ad65 (patch)
tree0a19bd1c21e148f35c7a0f76baa4f7a056b966b0 /net/khttpd
parent75b6d92f2dd5112b02f4e78cf9f35f9825946ef0 (diff)
Merge with 2.4.0-test3-pre4.
Diffstat (limited to 'net/khttpd')
-rw-r--r--net/khttpd/security.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/net/khttpd/security.c b/net/khttpd/security.c
index 16503ceb5..792abd083 100644
--- a/net/khttpd/security.c
+++ b/net/khttpd/security.c
@@ -113,12 +113,8 @@ struct file *OpenFileForSecurity(char *Filename)
#endif
/* Rule no. 3 -- Does the file exist ? */
- lock_kernel();
-
filp = filp_open(Filename, O_RDONLY, 0);
- unlock_kernel();
-
if (IS_ERR(filp))
return NULL;