diff options
Diffstat (limited to 'fs/nfs/nfs4xdr.c')
-rw-r--r-- | fs/nfs/nfs4xdr.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/nfs/nfs4xdr.c b/fs/nfs/nfs4xdr.c index cd762648fa9a..8b21de8a06fa 100644 --- a/fs/nfs/nfs4xdr.c +++ b/fs/nfs/nfs4xdr.c | |||
@@ -2799,10 +2799,8 @@ static int decode_getfattr(struct xdr_stream *xdr, struct nfs_fattr *fattr, cons | |||
2799 | goto xdr_error; | 2799 | goto xdr_error; |
2800 | if ((status = decode_attr_time_modify(xdr, bitmap, &fattr->mtime)) != 0) | 2800 | if ((status = decode_attr_time_modify(xdr, bitmap, &fattr->mtime)) != 0) |
2801 | goto xdr_error; | 2801 | goto xdr_error; |
2802 | if ((status = verify_attr_len(xdr, savep, attrlen)) == 0) { | 2802 | if ((status = verify_attr_len(xdr, savep, attrlen)) == 0) |
2803 | fattr->valid = NFS_ATTR_FATTR | NFS_ATTR_FATTR_V3 | NFS_ATTR_FATTR_V4; | 2803 | fattr->valid = NFS_ATTR_FATTR | NFS_ATTR_FATTR_V3 | NFS_ATTR_FATTR_V4; |
2804 | fattr->timestamp = jiffies; | ||
2805 | } | ||
2806 | xdr_error: | 2804 | xdr_error: |
2807 | if (status != 0) | 2805 | if (status != 0) |
2808 | printk(KERN_NOTICE "%s: xdr error %d!\n", __FUNCTION__, -status); | 2806 | printk(KERN_NOTICE "%s: xdr error %d!\n", __FUNCTION__, -status); |