]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
PrimaryLogPG: define soid just before using it
authorEnming Zhang <enming.zhang@umcloud.com>
Wed, 13 Dec 2017 14:32:32 +0000 (22:32 +0800)
committerEnming Zhang <enming.zhang@umcloud.com>
Wed, 13 Dec 2017 14:32:32 +0000 (22:32 +0800)
commit0591f01568bb321735c68f8232b348c4937075d5
tree3e785a040b0cc9f0166e8fa1b41d4c044fd172b5
parent6fdd8ba284095e2c6b2eb8131e7c612858215b3f
PrimaryLogPG: define soid just before using it

Define the soid just before using it to avoid a redundant
definition if an error happens and function prepare_transaction
returns directly.

Signed-off-by: Enming Zhang <enming.zhang@umcloud.com>
src/osd/PrimaryLogPG.cc