SUNRPC allow for unspecified transport time in rpc_clnt_add_xprt
authorOlga Kornievskaia <kolga@netapp.com>
Thu, 9 Dec 2021 19:53:34 +0000 (14:53 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Feb 2022 11:56:10 +0000 (12:56 +0100)
commit5ca123c91a64a85230272136b756c78d632d21c5
tree1d0e1399bfecb8519211b0d6172e2638b1d5307d
parentc5ae18fa8d71c79684a3c3398d037287ce453413
SUNRPC allow for unspecified transport time in rpc_clnt_add_xprt

[ Upstream commit b8a09619a56334414cbd7f935a0796240d0cc07e ]

If the supplied argument doesn't specify the transport type, use the
type of the existing rpc clnt and its existing transport.

Signed-off-by: Olga Kornievskaia <kolga@netapp.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/sunrpc/clnt.c