projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63ffc23
)
NFS: Save padding bytes in struct nfs4_setclientid
author
Trond Myklebust
<Trond.Myklebust@netapp.com>
Wed, 8 Oct 2008 17:54:52 +0000
(13:54 -0400)
committer
Trond 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
patch
|
blob
|
history
diff --git
a/include/linux/nfs_xdr.h
b/include/linux/nfs_xdr.h
index f6e95bfad5de34a9a1863742a8b563d304f64ec1..6ee6ae3f095ceeeca48f0151c5ca11d33ab257cf 100644
(file)
--- 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 (12
8
)
+#define NFS4_SETCLIENTID_NAMELEN (12
7
)
struct nfs4_setclientid {
const nfs4_verifier * sc_verifier;
unsigned int sc_name_len;