SUNRPC: Split out _shift_data_right_tail()
authorAnna Schumaker <Anna.Schumaker@Netapp.com>
Wed, 6 May 2020 17:21:30 +0000 (13:21 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Wed, 7 Oct 2020 18:28:39 +0000 (14:28 -0400)
commit43f0f0816cdbe7361dd17db3b4c1033446033ba6
tree947d30a72abbceb941252bac15ccbb6933031abe
parent06216ecbd93688f7acb617e186b9556a565a13bd
SUNRPC: Split out _shift_data_right_tail()

xdr_shrink_pagelen() is very similar to what we need for hole expansion,
so split out the common code into its own function that can be used by
both functions.

Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
net/sunrpc/xdr.c