patch-2.4.18 linux/fs/coda/coda_linux.c
Next file: linux/fs/coda/dir.c
Previous file: linux/fs/buffer.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Mon Feb 4 17:44:52 2002
- Orig file:
linux.orig/fs/coda/coda_linux.c
- Orig date:
Mon Feb 18 20:18:40 2002
diff -Naur -X /home/marcelo/lib/dontdiff linux.orig/fs/coda/coda_linux.c linux/fs/coda/coda_linux.c
@@ -172,6 +172,8 @@
inode->i_mtime = attr->va_mtime.tv_sec;
if (attr->va_ctime.tv_sec != -1)
inode->i_ctime = attr->va_ctime.tv_sec;
+ if (!inode->i_ctime)
+ inode->i_ctime = inode->i_mtime;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)