diff options
author | Ilya Dryomov <idryomov@gmail.com> | 2018-09-26 20:12:07 +0300 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2018-10-22 11:28:20 +0300 |
commit | 24639ce56040a8ea890ad8836068c1ad8bd177c7 (patch) | |
tree | 36a7cf1d0582c40e4063bd818b9225f6bf080202 /drivers/block/rbd.c | |
parent | 94e6992bb560be8bffb47f287194adf070b57695 (diff) | |
download | linux-24639ce56040a8ea890ad8836068c1ad8bd177c7.tar.xz |
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; |