]> git.hungrycats.org Git - linux/commitdiff
afs: Connect up the CB.ProbeUuid
authorDavid Howells <dhowells@redhat.com>
Thu, 2 Nov 2017 15:27:48 +0000 (15:27 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 16 Dec 2017 09:32:31 +0000 (10:32 +0100)
[ Upstream commit f4b3526d83c40dd8bf5948b9d7a1b2c340f0dcc8 ]

The handler for the CB.ProbeUuid operation in the cache manager is
implemented, but isn't listed in the switch-statement of operation
selection, so won't be used.  Fix this by adding it.

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/afs/cmservice.c

index 4b0eff6da6740552043679764f0ebc76a47917a0..83a8a33a0d73bc61c1ac5a2e149da3e80ffcc99e 100644 (file)
@@ -115,6 +115,9 @@ bool afs_cm_incoming_call(struct afs_call *call)
        case CBProbe:
                call->type = &afs_SRXCBProbe;
                return true;
+       case CBProbeUuid:
+               call->type = &afs_SRXCBProbeUuid;
+               return true;
        case CBTellMeAboutYourself:
                call->type = &afs_SRXCBTellMeAboutYourself;
                return true;