diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2023-09-25 09:27:45 -0400 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2023-10-16 12:44:28 -0400 |
commit | 40bb2baaa8edecfc21a3c176e4af1a3445157677 (patch) | |
tree | 49066e83056489bcc54192213cc2ba8f8258fd0e /scripts/gdb/linux/timerlist.py | |
parent | 76bebcc7640eaac7213ab6ef97b3376733c69123 (diff) |
NFSD: Clean up nfsd4_encode_stateid()
Update the encoder function name to match the type name, as is the
convention with other such encoder utility functions, and with
nfsd4_decode_stateid4().
Make the @stateid argument a const so that callers of
nfsd4_encode_stateid4() in the future can be passed const pointers
to structures.
Since the compiler is allowed to add padding to structs, use the
wire (spec-defined) size when reserving buffer space.
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions