From: Benny Halevy Date: Sun, 29 Aug 2010 16:13:15 +0000 (-0400) Subject: sunrpc: don't shorten buflen twice in xdr_shrink_pagelen X-Git-Tag: v2.6.37-rc1~120^2~66 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b1a7a91ada8388936ffff92cf1ad57b3e926f412;p=pandora-kernel.git sunrpc: don't shorten buflen twice in xdr_shrink_pagelen On Jan. 14, 2009, 2:50 +0200, andros@netapp.com wrote: > From: Andy Adamson > > The buflen is reset for all cases at the end of xdr_shrink_pagelen. > The data left in the tail after xdr_read_pages is not processed when the > buflen is incorrectly set. Note that in this case we also lose (len - tail->iov_len) bytes from the buffered data in pages. Reported-by: Andy Adamson Signed-off-by: Benny Halevy Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed