patch-1.3.71 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
-  Lines: 17
 -  Date:
Sat Mar  2 13:15:35 1996
 -  Orig file: 
v1.3.70/linux/fs/ncpfs/file.c
 -  Orig date: 
Fri Feb 23 13:54:37 1996
 
diff -u --recursive --new-file v1.3.70/linux/fs/ncpfs/file.c linux/fs/ncpfs/file.c
@@ -1,7 +1,7 @@
 /*
  *  file.c
  *
- *  Copyright (C) 1995 by Volker Lendecke
+ *  Copyright (C) 1995, 1996 by Volker Lendecke
  *
  */
 
@@ -241,6 +241,7 @@
         if (pos > inode->i_size)
 	{
                 inode->i_size = pos;
+		ncp_invalid_dir_cache(NCP_INOP(inode)->dir->inode);
         }
 
         DPRINTK("ncp_file_write: exit %s\n", NCP_ISTRUCT(inode)->entryName);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this