Merge pull request #8992 from runsisi/wip-fix-dup-keygen

cls_journal: remove duplicated key generation

Reviewed-by: Sage Weil <sage@redhat.com>
This commit is contained in:
Sage Weil 2016-05-09 09:49:54 -04:00
commit bd4a3b1b3e

View File

@ -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;