patch-2.4.5 linux/fs/fcntl.c
Next file: linux/fs/freevxfs/Makefile
Previous file: linux/fs/fat/misc.c
Back to the patch index
Back to the overall index
-  Lines: 16
-  Date:
Tue May 22 09:26:06 2001
-  Orig file: 
v2.4.4/linux/fs/fcntl.c
-  Orig date: 
Wed Nov 15 22:50:25 2000
diff -u --recursive --new-file v2.4.4/linux/fs/fcntl.c linux/fs/fcntl.c
@@ -338,7 +338,6 @@
 	if (!filp)
 		goto out;
 
-	lock_kernel();
 	switch (cmd) {
 		case F_GETLK64:
 			err = fcntl_getlk64(fd, (struct flock64 *) arg);
@@ -353,7 +352,6 @@
 			err = do_fcntl(fd, cmd, arg, filp);
 			break;
 	}
-	unlock_kernel();
 	fput(filp);
 out:
 	return err;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)