afs: Fix handling of CB.ProbeUuid cache manager op
authorDavid Howells <dhowells@redhat.com>
Wed, 27 May 2020 15:44:02 +0000 (16:44 +0100)
committerDavid Howells <dhowells@redhat.com>
Thu, 4 Jun 2020 14:37:57 +0000 (15:37 +0100)
commit3120c170ef35c1a9be137535e44c7e237e33b78e
treefe44a3c8887ecb2708f2fa36da23425342b3a048
parent44746355ccb142341f92a0c86fc2e27bfc968b40
afs: Fix handling of CB.ProbeUuid cache manager op

The AFS filesystem driver is handling the CB.ProbeUuid request incorrectly.
The UUID presented in the request is that of the cache manager, not the
fileserver, so afs_deliver_cb_probe_uuid() shouldn't be using that UUID to
look up the server.

Fix this by looking up the server by address instead.

Signed-off-by: David Howells <dhowells@redhat.com>
fs/afs/cmservice.c