SUNRPC: Remove open coded stream position calculation in xdr_read_pages
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 26 Jun 2012 16:19:55 +0000 (12:19 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 28 Jun 2012 21:20:45 +0000 (17:20 -0400)
commitb760b3131d962dd35925fb65956afe621fa65ec4
treeff02bbf734874be24a735ee216ca8f0354d23d8c
parent1aecca3e83e5da981ade916920d3d2a6b9644cc3
SUNRPC: Remove open coded stream position calculation in xdr_read_pages

Use xdr_stream_pos() instead.

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