aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2008-10-08 13:54:52 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2008-10-08 13:54:52 -0400
commit19d771f3caccaf66ce2fb539319222139e5b4e88 (patch)
tree201483b39c3757a6aa4bfa0af5e24c7e2db1e07a /include
parent63ffc23d307c9534c732edd87895e37b223004a3 (diff)
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: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/nfs_xdr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/nfs_xdr.h b/include/linux/nfs_xdr.h
index f6e95bfad5de..6ee6ae3f095c 100644
--- a/include/linux/nfs_xdr.h
+++ b/include/linux/nfs_xdr.h
@@ -672,7 +672,7 @@ struct nfs4_rename_res {
672 struct nfs_fattr * new_fattr; 672 struct nfs_fattr * new_fattr;
673}; 673};
674 674
675#define NFS4_SETCLIENTID_NAMELEN (128) 675#define NFS4_SETCLIENTID_NAMELEN (127)
676struct nfs4_setclientid { 676struct nfs4_setclientid {
677 const nfs4_verifier * sc_verifier; 677 const nfs4_verifier * sc_verifier;
678 unsigned int sc_name_len; 678 unsigned int sc_name_len;