fs/nfs/nfs_proto.h: Use of uint64_t in the data types breaks NFS functionality.

The use of uint64_t primitive type in NFS structures forces the compiler to align data on an 8-byte boundary.
As a result of this, unwanted gaps being created, which causes NFS to fail. (e.g., nfs_read/initialize the request)
Using nfsuint64 instead of uint64_t fixes this issue.
This commit is contained in:
Erdem Meydanli 2020-05-27 23:56:53 +02:00 committed by patacongo
parent 1c002e1049
commit 7f018e7898

View File

@ -426,7 +426,7 @@ struct LOOKUP3resok
struct READ3args
{
struct file_handle fhandle; /* Variable length */
uint64_t offset;
nfsuint64 offset;
uint32_t count;
};
@ -449,7 +449,7 @@ struct READ3resok
struct nfs_wrhdr_s
{
struct file_handle fhandle; /* Variable length */
uint64_t offset;
nfsuint64 offset;
uint32_t count;
uint32_t stable;
uint32_t length;