patch-2.2.14 linux/fs/affs/namei.c
Next file: linux/fs/binfmt_aout.c
Previous file: linux/fs/affs/inode.c
Back to the patch index
Back to the overall index
- Lines: 65
- Date:
Tue Jan 4 10:12:22 2000
- Orig file:
v2.2.13/linux/fs/affs/namei.c
- Orig date:
Fri Apr 23 21:20:37 1999
diff -u --recursive --new-file v2.2.13/linux/fs/affs/namei.c linux/fs/affs/namei.c
@@ -247,7 +247,7 @@
inode->i_nlink = retval;
inode->i_ctime = dir->i_ctime = dir->i_mtime = CURRENT_TIME;
- dir->i_version = ++event;
+ dir->i_version = ++global_event;
mark_inode_dirty(inode);
d_delete(dentry);
mark_inode_dirty(dir);
@@ -285,7 +285,7 @@
inode->u.affs_i.i_protect = mode_to_prot(inode->i_mode);
d_instantiate(dentry,inode);
mark_inode_dirty(inode);
- dir->i_version = ++event;
+ dir->i_version = ++global_event;
mark_inode_dirty(dir);
out:
return error;
@@ -319,7 +319,7 @@
inode->u.affs_i.i_protect = mode_to_prot(inode->i_mode);
d_instantiate(dentry,inode);
mark_inode_dirty(inode);
- dir->i_version = ++event;
+ dir->i_version = ++global_event;
mark_inode_dirty(dir);
out:
return error;
@@ -372,7 +372,7 @@
inode->i_nlink = retval;
inode->i_ctime = dir->i_ctime = dir->i_mtime = CURRENT_TIME;
retval = 0;
- dir->i_version = ++event;
+ dir->i_version = ++global_event;
mark_inode_dirty(dir);
mark_inode_dirty(inode);
d_delete(dentry);
@@ -450,7 +450,7 @@
if (error)
goto out_release;
d_instantiate(dentry,inode);
- dir->i_version = ++event;
+ dir->i_version = ++global_event;
mark_inode_dirty(dir);
out:
@@ -504,7 +504,7 @@
if (error)
inode->i_nlink = 0;
else {
- dir->i_version = ++event;
+ dir->i_version = ++global_event;
mark_inode_dirty(dir);
mark_inode_dirty(oldinode);
oldinode->i_count++;
@@ -579,8 +579,8 @@
new_dir->i_ctime = new_dir->i_mtime = old_dir->i_ctime
= old_dir->i_mtime = CURRENT_TIME;
- new_dir->i_version = ++event;
- old_dir->i_version = ++event;
+ new_dir->i_version = ++global_event;
+ old_dir->i_version = ++global_event;
retval = 0;
mark_inode_dirty(new_dir);
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)