patch-2.4.25 linux-2.4.25/fs/jfs/namei.c
Next file: linux-2.4.25/fs/jfs/xattr.c
Previous file: linux-2.4.25/fs/jfs/jfs_txnmgr.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
2004-02-18 05:36:31.000000000 -0800
- Orig file:
linux-2.4.24/fs/jfs/namei.c
- Orig date:
2003-11-28 10:26:21.000000000 -0800
diff -urN linux-2.4.24/fs/jfs/namei.c linux-2.4.25/fs/jfs/namei.c
@@ -1223,7 +1223,7 @@
old_ip->i_ctime = CURRENT_TIME;
mark_inode_dirty(old_ip);
- new_dir->i_ctime = CURRENT_TIME;
+ new_dir->i_ctime = new_dir->i_mtime = CURRENT_TIME;
mark_inode_dirty(new_dir);
/* Build list of inodes modified by this transaction */
@@ -1235,7 +1235,7 @@
if (old_dir != new_dir) {
iplist[ipcount++] = new_dir;
- old_dir->i_ctime = CURRENT_TIME;
+ old_dir->i_ctime = old_dir->i_mtime = CURRENT_TIME;
mark_inode_dirty(old_dir);
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)