]> git.baikalelectronics.ru Git - kernel.git/commit
SUNRPC: Introduce xdr_stream_move_subsegment()
authorAnna Schumaker <Anna.Schumaker@Netapp.com>
Thu, 21 Jul 2022 18:21:31 +0000 (14:21 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Sat, 23 Jul 2022 19:38:29 +0000 (15:38 -0400)
commitc5a14c11311c7f7b16f56253186adadccf143d2f
tree422358538d8bc81709af88644248901c54b62b53
parent3dd771ea197ae77437aba0d974d7d54fc221322e
SUNRPC: Introduce xdr_stream_move_subsegment()

I do this by creating an xdr subsegment for the range we will be
operating over. This lets me shift data to the correct place without
potentially overwriting anything already there.

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