SUNRPC: Add the helper xdr_stream_pos
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 21 Jun 2012 21:14:46 +0000 (17:14 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 28 Jun 2012 21:20:44 +0000 (17:20 -0400)
commit4517d526c8aa31b5c14165ef180cc19518ff0a35
tree51201ff494ab5615034046a093e242795af794bb
parent64bd577ea0021f5903505de061b3b7d8a785ee94
SUNRPC: Add the helper xdr_stream_pos

Add a helper to report the current offset from the start of the
xdr_stream.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
include/linux/sunrpc/xdr.h
net/sunrpc/xdr.c