NFS: Fix a resolution problem with nfs_inode->cache_change_attribute
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 14 Oct 2008 23:24:50 +0000 (19:24 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 14 Oct 2008 23:24:50 +0000 (19:24 -0400)
commit011935a0a710c20bb7ae63523b78856848db1926
treeaabfb595ce38eabd95ae1f79546d604aba663b7d
parent4704f0e274829e3af00737d2d9adace2d71a9605
NFS: Fix a resolution problem with nfs_inode->cache_change_attribute

The cache_change_attribute is used to decide whether or not a directory has
changed, in which case we may need to look it up again. Again, the use of
'jiffies' leads to an issue of resolution.

Once again, the fix is to change nfs_inode->cache_change_attribute, and
just make it a simple counter.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/dir.c
fs/nfs/inode.c