patch-2.4.0-test3 linux/net/khttpd/security.c
Next file: linux/net/netlink/af_netlink.c
Previous file: linux/net/ipx/af_ipx.c
Back to the patch index
Back to the overall index
- Lines: 12
- Date:
Wed Jul 5 11:31:02 2000
- Orig file:
v2.4.0-test2/linux/net/khttpd/security.c
- Orig date:
Tue Apr 11 15:09:27 2000
diff -u --recursive --new-file v2.4.0-test2/linux/net/khttpd/security.c linux/net/khttpd/security.c
@@ -113,11 +113,7 @@
#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;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)