]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit909fc0408e439b28693650bb5f9f6b906851eace
tree51201ff494ab5615034046a093e242795af794bb
parentb3b0506091a9e4e519321f782cd2c1334a61aafb
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