From: runsisi Date: Mon, 9 May 2016 07:15:31 +0000 (+0800) Subject: cls_journal: remove duplicated key generation X-Git-Tag: v11.0.0~630^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=715e99c83e1ebc01ceb9eff0f66da8e2b598766a;p=ceph.git cls_journal: remove duplicated key generation Signed-off-by: runsisi --- diff --git a/src/cls/journal/cls_journal.cc b/src/cls/journal/cls_journal.cc index 6e7d9d56c91a..d5cdfe3ececf 100644 --- a/src/cls/journal/cls_journal.cc +++ b/src/cls/journal/cls_journal.cc @@ -566,7 +566,6 @@ int journal_client_register(cls_method_context_t hctx, bufferlist *in, } cls::journal::Client client(id, data); - key = key_from_client_id(id); r = write_key(hctx, key, client); if (r < 0) { return r;