]> git.baikalelectronics.ru Git - kernel.git/commit
SUNRPC: Don't truncate tail data unnecessarily in xdr_shrink_pagelen
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Sun, 29 Aug 2010 16:13:16 +0000 (12:13 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sun, 29 Aug 2010 16:13:16 +0000 (12:13 -0400)
commit36f8208be110566f62d0aa5c774d6a87ca09db9d
tree05e87ee64fb3243b7fedb66c9a64caa6adad2c07
parent9ac560abdad12a19d3615c8b3ebcdceff3c3a772
SUNRPC: Don't truncate tail data unnecessarily in xdr_shrink_pagelen

If we have unused buffer space, then we should make use of that rather
than unnecessarily truncating the message.

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