libceph: pass reply buffer length through ceph_osdc_call()
authorIlya Dryomov <idryomov@gmail.com>
Wed, 25 Jan 2017 17:16:21 +0000 (18:16 +0100)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 20 Feb 2017 11:16:13 +0000 (12:16 +0100)
commit2544a02090aa76ffb8069e6bf23d886e34d9c8da
tree753549a7f2179184f22fd0ade10edf45f3d6d606
parentfe5478e0f6694312ad17dea7083296c1aea0a049
libceph: pass reply buffer length through ceph_osdc_call()

To spare checking for "this reply fits into a page, but does it fit
into my buffer?" in some callers, osd_req_op_cls_response_data_pages()
needs to know how big it is.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
net/ceph/cls_lock_client.c
net/ceph/osd_client.c