]> git.baikalelectronics.ru Git - kernel.git/commit
SUNRPC: Add a function for directly setting the xdr page len
authorAnna Schumaker <Anna.Schumaker@Netapp.com>
Thu, 21 Jul 2022 18:21:32 +0000 (14:21 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Sat, 23 Jul 2022 19:38:29 +0000 (15:38 -0400)
commit6e95e2daa6348d8a576d5e91df2b59b11bed9546
treef4598d27c5c81a33cc03256b89e452b8f699e12e
parentc5a14c11311c7f7b16f56253186adadccf143d2f
SUNRPC: Add a function for directly setting the xdr page len

We need to do this step during READ_PLUS decoding so that we know pages
are the right length and any extra data has been preserved in the tail.

Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
include/linux/sunrpc/xdr.h
net/sunrpc/xdr.c