]> git.baikalelectronics.ru Git - kernel.git/commit
SUNRPC: Optimise away unnecessary data moves in xdr_align_pages
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 2 Aug 2012 17:21:43 +0000 (13:21 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 28 Sep 2012 19:58:42 +0000 (15:58 -0400)
commit1200335b3c2ea0bfb602794c4e5ffdf8a1b9c21b
treed59f027797b629d029596f968ccf65dc7916509f
parenta6faae305bec7de39f411b37cf267dd40a9863a9
SUNRPC: Optimise away unnecessary data moves in xdr_align_pages

We only have to call xdr_shrink_pagelen() if the remaining RPC
message does not fit in the page buffer length that we supplied
to xdr_align_pages().

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