afs: Fix the handling of CB.InitCallBackState3 to find the server by UUID
authorDavid Howells <dhowells@redhat.com>
Fri, 11 May 2018 22:21:35 +0000 (23:21 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Jun 2018 19:01:44 +0000 (04:01 +0900)
commit97d8137763df271fb65c01b3b9e4db0202129ac7
tree1d284b1d54995ccecb2467d4654da445a8a11cdd
parent5167bb2a074497fba3a3991f8dcc4f406d46dda4
afs: Fix the handling of CB.InitCallBackState3 to find the server by UUID

[ Upstream commit 001ab5a67ee5d191c64aebf4b4ef8c7a0dcfd2bc ]

Fix the handling of the CB.InitCallBackState3 service call to find the
record of a server that we're using by looking it up by the UUID passed as
the parameter rather than by its address (of which it might have many, and
which may change).

Fixes: c35eccb1f614 ("[AFS]: Implement the CB.InitCallBackState3 operation.")
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/afs/cmservice.c