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

Next file: linux/fs/ext2/ialloc.c
Previous file: linux/fs/ext2/balloc.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.0.30/linux/fs/ext2/dir.c linux/fs/ext2/dir.c
@@ -206,9 +206,6 @@
 		offset = 0;
 		brelse (bh);
 	}
-	if (!IS_RDONLY(inode)) {
-		inode->i_atime = CURRENT_TIME;
-		inode->i_dirt = 1;
-	}
+	UPDATE_ATIME(inode);
 	return 0;
 }

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov