patch-2.4.18 linux/fs/coda/inode.c
Next file: linux/fs/coda/psdev.c
Previous file: linux/fs/coda/file.c
Back to the patch index
Back to the overall index
- Lines: 13
- Date:
Mon Feb 4 17:44:52 2002
- Orig file:
linux.orig/fs/coda/inode.c
- Orig date:
Mon Feb 18 20:18:40 2002
diff -Naur -X /home/marcelo/lib/dontdiff linux.orig/fs/coda/inode.c linux/fs/coda/inode.c
@@ -240,9 +240,11 @@
struct coda_vattr vattr;
int error;
- memset(&vattr, 0, sizeof(vattr));
+ inode->i_ctime = CURRENT_TIME;
+ memset(&vattr, 0, sizeof(vattr));
coda_iattr_to_vattr(iattr, &vattr);
+
vattr.va_type = C_VNON; /* cannot set type */
CDEBUG(D_SUPER, "vattr.va_mode %o\n", vattr.va_mode);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)