]> git.baikalelectronics.ru Git - 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)
commit6f0bf6e5f02f01395d5e6b7e8a2a521e873576ec
treef51743eb4a6b0620414cf07661eea4a959e7896b
parent3626d45e0d9f21f9a242eae54045ec429108ba7f
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