diff options
author | Ilya Dryomov | 2018-09-26 19:12:07 +0200 |
---|---|---|
committer | Ilya Dryomov | 2018-10-22 10:28:20 +0200 |
commit | 24639ce56040a8ea890ad8836068c1ad8bd177c7 (patch) | |
tree | 36a7cf1d0582c40e4063bd818b9225f6bf080202 /drivers/block/rbd.c | |
parent | libceph: bump CEPH_MSG_MAX_DATA_LEN (diff) | |
download | kernel-qcow2-linux-24639ce56040a8ea890ad8836068c1ad8bd177c7.tar.gz kernel-qcow2-linux-24639ce56040a8ea890ad8836068c1ad8bd177c7.tar.xz kernel-qcow2-linux-24639ce56040a8ea890ad8836068c1ad8bd177c7.zip |
libceph: osd_req_op_cls_init() doesn't need to take opcode
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'drivers/block/rbd.c')
-rw-r--r-- | drivers/block/rbd.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/block/rbd.c b/drivers/block/rbd.c index f2fe692dda40..9cc7ee3b427f 100644 --- a/drivers/block/rbd.c +++ b/drivers/block/rbd.c @@ -2374,8 +2374,7 @@ static int rbd_obj_issue_copyup(struct rbd_obj_request *obj_req, u32 bytes) if (!obj_req->osd_req) return -ENOMEM; - ret = osd_req_op_cls_init(obj_req->osd_req, 0, CEPH_OSD_OP_CALL, "rbd", - "copyup"); + ret = osd_req_op_cls_init(obj_req->osd_req, 0, "rbd", "copyup"); if (ret) return ret; |