patch-2.1.16 linux/fs/ext2/symlink.c
Next file: linux/fs/locks.c
Previous file: linux/fs/ext2/dir.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Thu Dec 12 19:33:00 1996
- Orig file:
v2.1.15/linux/fs/ext2/symlink.c
- Orig date:
Tue Oct 29 19:58:42 1996
diff -u --recursive --new-file v2.1.15/linux/fs/ext2/symlink.c linux/fs/ext2/symlink.c
@@ -87,7 +87,7 @@
link = bh->b_data;
} else
link = (char *) inode->u.ext2_i.i_data;
- if (!IS_RDONLY(inode)) {
+ if (DO_UPDATE_ATIME(inode)) {
inode->i_atime = CURRENT_TIME;
inode->i_dirt = 1;
}
@@ -128,7 +128,7 @@
i++;
put_user (c, buffer++);
}
- if (!IS_RDONLY(inode)) {
+ if (DO_UPDATE_ATIME(inode)) {
inode->i_atime = CURRENT_TIME;
inode->i_dirt = 1;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov