From: Chuck Lever Date: Tue, 5 Dec 2006 21:35:41 +0000 (-0500) Subject: SUNRPC: skb_read_bits is the same as xs_tcp_copy_data X-Git-Tag: v2.6.20-rc1~34^2~412^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9d29231690925915015c21c1fff73c7118099843;p=pandora-kernel.git SUNRPC: skb_read_bits is the same as xs_tcp_copy_data Clean-up: eliminate xs_tcp_copy_data -- it's exactly the same logic as the common routine skb_read_bits. The UDP and TCP socket read code now share the same routine for copying data into an xdr_buf. Now that skb_read_bits() is exported, rename it to avoid confusing it with a generic skb_* function. As these functions are XDR-specific, they should not have names that suggest they are of generic use. Also rename skb_read_and_csum_bits() to be consistent. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed