ceph: break up send_cap_msg
authorJeff Layton <jlayton@kernel.org>
Mon, 30 Mar 2020 11:20:27 +0000 (07:20 -0400)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 12 Oct 2020 13:29:27 +0000 (15:29 +0200)
commit16d68903f56ae277446cc2d24ab18db835363eda
treecf41ee5c748fbf7ad20b9b6a1f3d2190b174602f
parent5231198089afba422dd2c46fef515291fca53bdd
ceph: break up send_cap_msg

Push the allocation of the msg and the send into the caller. Rename
the function to encode_cap_msg and make it void return.

Signed-off-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/caps.c