patch-2.2.15 linux/fs/ncpfs/inode.c
Next file: linux/fs/ncpfs/ioctl.c
Previous file: linux/fs/ncpfs/file.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Fri Apr 21 12:46:44 2000
- Orig file:
v2.2.14/fs/ncpfs/inode.c
- Orig date:
Tue Jan 4 21:19:00 2000
diff -u --new-file --recursive --exclude-from ../../exclude v2.2.14/fs/ncpfs/inode.c linux/fs/ncpfs/inode.c
@@ -691,7 +691,7 @@
DPRINTK(KERN_DEBUG "ncpfs: trying to change size to %ld\n",
attr->ia_size);
- if ((result = ncp_make_open(inode, O_RDWR)) < 0) {
+ if ((result = ncp_make_open(inode, O_WRONLY)) < 0) {
return -EACCES;
}
ncp_write_kernel(NCP_SERVER(inode), NCP_FINFO(inode)->file_handle,
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)