summaryrefslogtreecommitdiff
path: root/net/nfs.h
diff options
context:
space:
mode:
authorJoe Hershberger <joe.hershberger@ni.com>2016-09-09 13:01:24 -0500
committerJoe Hershberger <joe.hershberger@ni.com>2016-09-09 13:13:41 -0500
commit11e8ec96dcff19ac0e0232a1ae10999398d64e3b (patch)
treea97ec42cb9061ffaaed2c03ca2c1caea21503446 /net/nfs.h
parenta73588fe481ffe39e3021decdc73a5b358f0776c (diff)
downloadu-boot-11e8ec96dcff19ac0e0232a1ae10999398d64e3b.tar.gz
Revert "net: nfs: Correct the reply data buffer size"
This reverts commit 6279b49e6c2fdaf8665355d1777bc90cd41fcf90. This caused a bad data crc. Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Reported-by: Guillaume GARDET <guillaume.gardet@free.fr>
Diffstat (limited to 'net/nfs.h')
-rw-r--r--net/nfs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/nfs.h b/net/nfs.h
index aa4e450b20..45da246aa1 100644
--- a/net/nfs.h
+++ b/net/nfs.h
@@ -76,7 +76,7 @@ struct rpc_t {
uint32_t verifier;
uint32_t v2;
uint32_t astatus;
- uint32_t data[NFS_READ_SIZE / sizeof(uint32_t)];
+ uint32_t data[NFS_READ_SIZE];
} reply;
} u;
};