]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - fs/ceph/mds_client.c
libceph: msg signing callouts don't need con argument
authorIlya Dryomov <idryomov@gmail.com>
Mon, 26 Oct 2015 21:23:56 +0000 (22:23 +0100)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 2 Nov 2015 22:37:45 +0000 (23:37 +0100)
commit79dbd1baa651cece408e68a1b445f3628c4b5bdc
tree182592068bebc4ee6dbf46077a0a162aa7127a1f
parent8a703a383dd3458753e0ad71860ed3a5097692b3
libceph: msg signing callouts don't need con argument

We can use msg->con instead - at the point we sign an outgoing message
or check the signature on the incoming one, msg->con is always set.  We
wouldn't know how to sign a message without an associated session (i.e.
msg->con == NULL) and being able to sign a message using an explicitly
provided authorizer is of no use.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/mds_client.c
include/linux/ceph/messenger.h
net/ceph/messenger.c
net/ceph/osd_client.c