patch-2.2.15 linux/fs/ncpfs/ioctl.c
Next file: linux/fs/nfs/inode.c
Previous file: linux/fs/ncpfs/inode.c
Back to the patch index
Back to the overall index
-  Lines: 8
-  Date:
Fri Apr 21 12:46:44 2000
-  Orig file: 
v2.2.14/fs/ncpfs/ioctl.c
-  Orig date: 
Sat Aug 14 02:26:51 1999
diff -u --new-file --recursive --exclude-from ../../exclude v2.2.14/fs/ncpfs/ioctl.c linux/fs/ncpfs/ioctl.c
@@ -307,6 +307,7 @@
 				default:
 						return -EINVAL;
 			}
+			/* locking needs both read and write access */
 			if ((result = ncp_make_open(inode, O_RDWR)) != 0)
 			{
 				return result;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)