]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8753466962facc97f325492220a2967497616b63
tree182592068bebc4ee6dbf46077a0a162aa7127a1f
parent19659a6c77b75392baebb14f762a94be6b67d5ac
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