[PATCH] ReiserFS, please apply 1 of 13

From: Hans Reiser (reiser@namesys.com)
Date: Wed Apr 10 2002 - 08:49:20 EST


attached mail follows:


This patch is to fix a problem when directory's atime was not updated on
readdir(). Patch is written by Chris Mason.

--- linux-2.5.8-pre2.o/fs/reiserfs/dir.c Thu, 13 Dec 2001 11:06:51 -0500
+++ linux-2.5.8-pre2/fs/reiserfs/dir.c Tue, 29 Jan 2002 17:56:04 -0500
@@ -180,6 +180,7 @@
     filp->f_pos = next_pos;
     pathrelse (&path_to_entry);
     reiserfs_check_path(&path_to_entry) ;
+ UPDATE_ATIME(inode) ;
     return 0;
 }
 

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Apr 15 2002 - 22:00:15 EST