patch-2.4.10 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:
Mon Sep 10 07:31:30 2001
- Orig file:
v2.4.9/linux/fs/ncpfs/inode.c
- Orig date:
Tue Apr 17 23:16:39 2001
diff -u --recursive --new-file v2.4.9/linux/fs/ncpfs/inode.c linux/fs/ncpfs/inode.c
@@ -692,7 +692,7 @@
ncp_inode_close(inode);
result = ncp_make_closed(inode);
if (!result)
- vmtruncate(inode, attr->ia_size);
+ result = vmtruncate(inode, attr->ia_size);
}
out:
return result;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)