Skip to content
Commit 96f194b7 authored by Chuck Lever's avatar Chuck Lever
Browse files

SUNRPC: Add xdr_pad_size() helper



Introduce a helper function to compute the XDR pad size of a
variable-length XDR object.

Clean up: Replace open-coded calculation of XDR pad sizes.
I'm sure I haven't found every instance of this calculation.

Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
parent 758a3bf9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment