NFSv4 remove zero number of fs_locations entries error check
authorOlga Kornievskaia <kolga@netapp.com>
Thu, 9 Dec 2021 19:53:29 +0000 (14:53 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Feb 2022 11:56:09 +0000 (12:56 +0100)
commit0c5d3bfb296785d21feabc7cc972a5f704f6f3e6
tree59d964257f2a530f8b1645defd72def105671d23
parent3cb5b317901e769e4d465e1db2ddff0e1230563c
NFSv4 remove zero number of fs_locations entries error check

[ Upstream commit 90e12a3191040bd3854d3e236c35921e4e92a044 ]

Remove the check for the zero length fs_locations reply in the
xdr decoding, and instead check for that in the migration code.

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>
fs/nfs/nfs4state.c
fs/nfs/nfs4xdr.c