From: Chuck Lever Date: Tue, 14 Dec 2010 14:59:18 +0000 (+0000) Subject: SUNRPC: New xdr_streams XDR encoder API X-Git-Tag: v2.6.38-rc1~407^2~59 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9f06c719f474be7003763284a990bed6377bb0d4;p=pandora-kernel.git SUNRPC: New xdr_streams XDR encoder API Now that all client-side XDR encoder routines use xdr_streams, there should be no need to support the legacy calling sequence [rpc_rqst *, __be32 *, RPC arg *] anywhere. We can construct an xdr_stream in the generic RPC code, instead of in each encoder function. Also, all the client-side encoder functions return 0 now, making a return value superfluous. Take this opportunity to convert them to return void instead. This is a refactoring change. It should not cause different behavior. Signed-off-by: Chuck Lever Tested-by: J. Bruce Fields Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed