patch-2.3.20 linux/fs/ncpfs/file.c

Next file: linux/fs/ncpfs/inode.c
Previous file: linux/fs/ncpfs/dir.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.19/linux/fs/ncpfs/file.c linux/fs/ncpfs/file.c
@@ -38,7 +38,7 @@
 {
 	int error, result;
 	int access;
-	struct nw_file_info finfo;
+	struct ncp_entry_info finfo;
 
 	error = -EINVAL;
 	if (!inode) {
@@ -259,7 +259,6 @@
 
 	if (pos > inode->i_size) {
 		inode->i_size = pos;
-		ncp_invalid_dir_cache(dentry->d_parent->d_inode);
 	}
 	DPRINTK(KERN_DEBUG "ncp_file_write: exit %s/%s\n",
 		dentry->d_parent->d_name.name, dentry->d_name.name);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)