Commit 6279b49e authored by Joe Hershberger's avatar Joe Hershberger

net: nfs: Correct the reply data buffer size

The type of the buffer is uint32_t, but the parameter used to size it
is referring to bytes. Divide by the size of the array elements.

Strictly speaking, this shouldn't be needed at all... It could just be 1
just like the request.
Signed-off-by: default avatarJoe Hershberger <>
parent 5280c769
......@@ -76,7 +76,7 @@ struct rpc_t {
uint32_t verifier;
uint32_t v2;
uint32_t astatus;
uint32_t data[NFS_READ_SIZE];
uint32_t data[NFS_READ_SIZE / sizeof(uint32_t)];
} reply;
} u;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment