patch-2.3.41 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:
Tue Jan 25 14:09:28 2000
- Orig file:
v2.3.40/linux/fs/ncpfs/inode.c
- Orig date:
Fri Jan 21 18:19:17 2000
diff -u --recursive --new-file v2.3.40/linux/fs/ncpfs/inode.c linux/fs/ncpfs/inode.c
@@ -683,7 +683,7 @@
DPRINTK("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)