]> 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)
commit092ca02c35beee3c725f36c7ac5cb2c63272ee52
treef51743eb4a6b0620414cf07661eea4a959e7896b
parent1a0fce0a2ce5a8eceab25883c820112906c905cf
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