patch-2.1.16 linux/fs/ext2/dir.c

Next file: linux/fs/ext2/symlink.c
Previous file: linux/drivers/scsi/qlogicpti_asm.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.15/linux/fs/ext2/dir.c linux/fs/ext2/dir.c
@@ -211,7 +211,7 @@
 		offset = 0;
 		brelse (bh);
 	}
-	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