lkml.org 
[lkml]   [2001]   [Oct]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectNFS atime problem in ac kernels

In fs/nfs/inode.c, the function __nfs_refresh_inode() has a
line removed (see below) from all recent ac kernels. This
may be the reason why, in ac kernels but not in Linus kernels,
the atime of a file in an NFS mounted directory does not get
updated after file access. Putting the line back has solved
the problem for me.

Keh-Cheng Chu

--- linux-2.4.10/fs/nfs/inode.c Fri Sep 7 09:40:04 2001
+++ linux-2.4.10-ac3/fs/nfs/inode.c Tue Oct 2 08:07:02 2001

@@ -1006,8 +1029,6 @@
NFS_CACHE_CTIME(inode) = fattr->ctime;
inode->i_ctime = nfs_time_to_secs(fattr->ctime);

- inode->i_atime = nfs_time_to_secs(fattr->atime);
-
NFS_CACHE_MTIME(inode) = new_mtime;
inode->i_mtime = nfs_time_to_secs(new_mtim
-
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/
\
 
 \ /
  Last update: 2005-03-22 13:03    [W:0.024 / U:2.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site