patch-2.3.45 linux/fs/ncpfs/inode.c
Next file: linux/fs/nfs/inode.c
Previous file: linux/fs/locks.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Sun Feb 13 13:04:48 2000
- Orig file:
v2.3.44/linux/fs/ncpfs/inode.c
- Orig date:
Thu Feb 10 17:11:18 2000
diff -u --recursive --new-file v2.3.44/linux/fs/ncpfs/inode.c linux/fs/ncpfs/inode.c
@@ -693,6 +693,8 @@
/* According to ndir, the changes only take effect after
closing the file */
result = ncp_make_closed(inode);
+ if (!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)