Chuck Lever 241b1f419f SUNRPC: Remove xdr_buf_trim()
The key action of xdr_buf_trim() is that it shortens buf->len, the
length of the xdr_buf's content. The other actions -- shortening the
head, pages, and tail components -- are actually not necessary. In
particular, changing the size of those components can corrupt the
RPC message contained in the buffer. This is an accident waiting to
happen rather than a current bug, as far as we know.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Acked-by: Bruce Fields <bfields@redhat.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2019-02-14 09:39:34 -05:00
..
2019-02-14 09:39:34 -05:00
2014-07-12 18:45:49 -04:00
2018-12-19 13:52:46 -05:00
2018-07-31 12:53:40 -04:00
2018-07-31 12:53:40 -04:00
2019-02-13 13:14:35 -05:00
2012-04-15 12:44:40 -04:00
2019-02-14 09:39:34 -05:00
2019-02-13 13:14:35 -05:00