NFS: Save padding bytes in struct nfs4_setclientid
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 8 Oct 2008 17:54:52 +0000 (13:54 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 8 Oct 2008 17:54:52 +0000 (13:54 -0400)
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>
include/linux/nfs_xdr.h

index f6e95bfad5de34a9a1863742a8b563d304f64ec1..6ee6ae3f095ceeeca48f0151c5ca11d33ab257cf 100644 (file)
@@ -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;