libceph: introduce alloc_watch_request()
authorIlya Dryomov <idryomov@gmail.com>
Mon, 15 Oct 2018 13:26:27 +0000 (15:26 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 22 Oct 2018 08:28:22 +0000 (10:28 +0200)
commit39e58c3425b1816c84724e8a77f9f9daa0143263
tree3e32e02e54a5a75fbcf990869bf6d1031c81a493
parent81c65213d73cc51f2f2e4326d602e107c07afb05
libceph: introduce alloc_watch_request()

ceph_osdc_alloc_messages() call will be moved out of
alloc_linger_request() in the next commit, which means that
ceph_osdc_watch() will need to call ceph_osdc_alloc_messages()
twice.  Add a helper for that.

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