summaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs3xdr.c
diff options
context:
space:
mode:
authorTrond Myklebust2005-10-28 04:12:39 +0200
committerTrond Myklebust2005-10-28 04:12:39 +0200
commit33801147a8fda6b04d7e9afe1d42f1c01d3d6837 (patch)
tree5311fb4714f0a24b7d7666b04250205025e18d15 /fs/nfs/nfs3xdr.c
parentNFS: Convert cache_change_attribute into a jiffy-based value (diff)
downloadkernel-qcow2-linux-33801147a8fda6b04d7e9afe1d42f1c01d3d6837.tar.gz
kernel-qcow2-linux-33801147a8fda6b04d7e9afe1d42f1c01d3d6837.tar.xz
kernel-qcow2-linux-33801147a8fda6b04d7e9afe1d42f1c01d3d6837.zip
NFS: Optimise inode attribute cache updates
Allow nfs_refresh_inode() also to update attributes on the inode if the RPC call was sent after the last call to nfs_update_inode(). Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/nfs3xdr.c')
-rw-r--r--fs/nfs/nfs3xdr.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/nfs/nfs3xdr.c b/fs/nfs/nfs3xdr.c
index db4a904810a4..0498bd36602c 100644
--- a/fs/nfs/nfs3xdr.c
+++ b/fs/nfs/nfs3xdr.c
@@ -174,7 +174,6 @@ xdr_decode_fattr(u32 *p, struct nfs_fattr *fattr)
/* Update the mode bits */
fattr->valid |= (NFS_ATTR_FATTR | NFS_ATTR_FATTR_V3);
- fattr->timestamp = jiffies;
return p;
}