aboutsummaryrefslogtreecommitdiffstats
path: root/net/ceph/cls_lock_client.c
diff options
context:
space:
mode:
authorIlya Dryomov <idryomov@gmail.com>2019-06-14 18:16:51 +0200
committerIlya Dryomov <idryomov@gmail.com>2019-07-08 14:01:45 +0200
commit68ada915eea10f36760ffe414810390a104df093 (patch)
treeda798405d58cfce3e36080369e9224f9081f1a2f /net/ceph/cls_lock_client.c
parentlibceph: bump CEPH_MSG_MAX_DATA_LEN (again) (diff)
downloadlinux-dev-68ada915eea10f36760ffe414810390a104df093.tar.xz
linux-dev-68ada915eea10f36760ffe414810390a104df093.zip
libceph: change ceph_osdc_call() to take page vector for response
This will be used for loading object map. rbd_obj_read_sync() isn't suitable because object map must be accessed through class methods. Signed-off-by: Ilya Dryomov <idryomov@gmail.com> Reviewed-by: Dongsheng Yang <dongsheng.yang@easystack.cn> Reviewed-by: Jeff Layton <jlayton@kernel.org>
Diffstat (limited to 'net/ceph/cls_lock_client.c')
-rw-r--r--net/ceph/cls_lock_client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ceph/cls_lock_client.c b/net/ceph/cls_lock_client.c
index b1d12bf4b83e..fb59094caf13 100644
--- a/net/ceph/cls_lock_client.c
+++ b/net/ceph/cls_lock_client.c
@@ -363,7 +363,7 @@ int ceph_cls_lock_info(struct ceph_osd_client *osdc,
dout("%s lock_name %s\n", __func__, lock_name);
ret = ceph_osdc_call(osdc, oid, oloc, "lock", "get_info",
CEPH_OSD_FLAG_READ, get_info_op_page,
- get_info_op_buf_size, reply_page, &reply_len);
+ get_info_op_buf_size, &reply_page, &reply_len);
dout("%s: status %d\n", __func__, ret);
if (ret >= 0) {