SUNRPC: Fix the return value of xdr_align_pages()
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 1 Aug 2012 18:32:13 +0000 (14:32 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 26 Sep 2012 16:43:10 +0000 (12:43 -0400)
commit8a9a8b8332b92b13316cf49685b5dc5257cfe115
treee3a0d5b5d0b9191e3a21f488dedd1f7aeb4dc968
parent62d98c935456ee121b03d6a68aa3091a04085b7e
SUNRPC: Fix the return value of xdr_align_pages()

The callers of xdr_align_pages() expect it to return the number of bytes
of actual XDR data remaining in the pages.

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