]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit28a2cc4434e775f703485ef5b85312647234cefd
tree947d30a72abbceb941252bac15ccbb6933031abe
parentcb8e51a897b3f03ae1b6909b494576359f97ac75
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