Commit 19d771f3 authored by Trond Myklebust's avatar Trond Myklebust

NFS: Save padding bytes in struct nfs4_setclientid

Peter Staubach suggested reducing NFS4_SETCLIENTID_NAMELEN by one byte so
as to avoid 7 bytes of unnecessary padding.
Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent 63ffc23d
...@@ -672,7 +672,7 @@ struct nfs4_rename_res { ...@@ -672,7 +672,7 @@ struct nfs4_rename_res {
struct nfs_fattr * new_fattr; struct nfs_fattr * new_fattr;
}; };
#define NFS4_SETCLIENTID_NAMELEN (128) #define NFS4_SETCLIENTID_NAMELEN (127)
struct nfs4_setclientid { struct nfs4_setclientid {
const nfs4_verifier * sc_verifier; const nfs4_verifier * sc_verifier;
unsigned int sc_name_len; unsigned int sc_name_len;
......
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