]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ReplicatedPG.cc: fix use of potentially invalid pointer
authorSamuel Just <samuel.just@dreamhost.com>
Wed, 19 Jan 2011 20:06:17 +0000 (12:06 -0800)
committerSamuel Just <samuel.just@dreamhost.com>
Thu, 20 Jan 2011 01:44:55 +0000 (17:44 -0800)
commite6b9731d00d8a8183842b5d9a132d3b5a181b3ae
tree4c037798978a363e4543f3f7371541eedc0b85b4
parent4e3a4e28532b180ecf30c34d6d4c229e8ca11816
ReplicatedPG.cc: fix use of potentially invalid pointer

rollback_to may not be initialized if ret != 0.

Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
src/osd/ReplicatedPG.cc