patch-2.2.13 linux/fs/ext2/namei.c
Next file: linux/fs/isofs/inode.c
Previous file: linux/fs/ext2/inode.c
Back to the patch index
Back to the overall index
- Lines: 14
- Date:
Tue Oct 19 17:14:01 1999
- Orig file:
v2.2.12/linux/fs/ext2/namei.c
- Orig date:
Thu May 13 23:25:58 1999
diff -u --recursive --new-file v2.2.12/linux/fs/ext2/namei.c linux/fs/ext2/namei.c
@@ -883,6 +883,13 @@
new_dir->i_version = ++event;
/*
+ * Like most other Unix systems, set the ctime for inodes on a
+ * rename.
+ */
+ old_inode->i_ctime = CURRENT_TIME;
+ mark_inode_dirty(old_inode);
+
+ /*
* ok, that's it
*/
new_de->inode = le32_to_cpu(old_inode->i_ino);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)