libceph: change ceph_msg_data_cursor_init() to take cursor
authorIlya Dryomov <idryomov@gmail.com>
Wed, 4 Nov 2020 09:26:39 +0000 (10:26 +0100)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 14 Dec 2020 22:21:49 +0000 (23:21 +0100)
commit8ee8abf797bb3cb6007e30ac17a15f93277b0e91
treec8f925d4b70afb4ba0f40344f11811fbb8c93806
parent0247192809e391009fec1b191080db953997477c
libceph: change ceph_msg_data_cursor_init() to take cursor

Make it possible to have local cursors and embed them outside struct
ceph_msg.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
net/ceph/messenger.c