From: Trond Myklebust Date: Wed, 8 Oct 2008 17:54:52 +0000 (-0400) Subject: NFS: Save padding bytes in struct nfs4_setclientid X-Git-Tag: v2.6.28-rc1~266^2^2~22 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=19d771f3caccaf66ce2fb539319222139e5b4e88;p=linux-2.6-omap-h63xx.git 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 --- diff --git a/include/linux/nfs_xdr.h b/include/linux/nfs_xdr.h index f6e95bfad5d..6ee6ae3f095 100644 --- a/include/linux/nfs_xdr.h +++ b/include/linux/nfs_xdr.h @@ -672,7 +672,7 @@ struct nfs4_rename_res { struct nfs_fattr * new_fattr; }; -#define NFS4_SETCLIENTID_NAMELEN (128) +#define NFS4_SETCLIENTID_NAMELEN (127) struct nfs4_setclientid { const nfs4_verifier * sc_verifier; unsigned int sc_name_len;