]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: fast diff of first snapshot loads incorrect object map 4593/head
authorJason Dillaman <dillaman@redhat.com>
Wed, 6 May 2015 21:37:58 +0000 (17:37 -0400)
committerJason Dillaman <dillaman@redhat.com>
Wed, 6 May 2015 21:40:44 +0000 (17:40 -0400)
commit1b6a5e951e7a5936e7de1f43b83d569fcd6985a7
tree0c33039c634e596be539849cfd2f7886774c4c2a
parentbaebe744925fab227ce91374152c2bc4aaaa6052
librbd: fast diff of first snapshot loads incorrect object map

The ImageCtx::snaps collection is stored in newest->oldest order,
so the first snapshot id should be retrieved from the back of the
array.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/internal.cc