]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
SUNRPC: Clean up open coded setting of the xdr_stream 'nwords' field
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Tue, 8 Dec 2020 20:02:14 +0000 (15:02 -0500)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 14 Dec 2020 11:51:07 +0000 (06:51 -0500)
commit5a5f1c2c2cbb6ddef637abb7c7e7cab20b9cc933
treef51743eb4a6b0620414cf07661eea4a959e7896b
parente43ac22b83921928479da0bad25aaee3d95c2b1a
SUNRPC: Clean up open coded setting of the xdr_stream 'nwords' field

Move the setting of the xdr_stream 'nwords' field into the helpers that
reset the xdr_stream cursor.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
net/sunrpc/xdr.c