patch-2.1.101 linux/fs/affs/namei.c
Next file: linux/fs/affs/super.c
Previous file: linux/fs/affs/inode.c
Back to the patch index
Back to the overall index
- Lines: 34
- Date:
Thu May 7 22:58:04 1998
- Orig file:
v2.1.100/linux/fs/affs/namei.c
- Orig date:
Thu May 7 22:51:51 1998
diff -u --recursive --new-file v2.1.100/linux/fs/affs/namei.c linux/fs/affs/namei.c
@@ -253,6 +253,7 @@
inode->i_nlink = retval;
inode->i_ctime = dir->i_ctime = dir->i_mtime = CURRENT_TIME;
+ dir->i_version = ++event;
mark_inode_dirty(inode);
d_delete(dentry);
mark_inode_dirty(dir);
@@ -277,7 +278,7 @@
if (!inode)
goto out;
- pr_debug(" -- ino=%lu\n",inode->i_ino);
+ pr_debug("AFFS: ino=%lu\n",inode->i_ino);
if (dir->i_sb->u.affs_sb.s_flags & SF_OFS)
inode->i_op = &affs_file_inode_operations_ofs;
else
@@ -390,6 +391,7 @@
inode->i_nlink = retval;
inode->i_ctime = dir->i_ctime = dir->i_mtime = CURRENT_TIME;
retval = 0;
+ dir->i_version = ++event;
mark_inode_dirty(dir);
mark_inode_dirty(inode);
d_delete(dentry);
@@ -546,7 +548,7 @@
unsigned long new_ino;
int retval;
- pr_debug("AFFS: rename(old=%lu,\"%*s\" (inode=%p) to new=%lu,\"%*s\" (inode=%p) )\n",
+ pr_debug("AFFS: rename(old=%lu,\"%*s\" (inode=%p) to new=%lu,\"%*s\" (inode=%p))\n",
old_dir->i_ino,old_dentry->d_name.len,old_dentry->d_name.name,old_inode,
new_dir->i_ino,new_dentry->d_name.len,new_dentry->d_name.name,new_inode);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov