]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cls_rbd: fixed object_map_resize boundary issue
authorJason Dillaman <dillaman@redhat.com>
Tue, 3 Feb 2015 09:15:43 +0000 (04:15 -0500)
committerJason Dillaman <dillaman@redhat.com>
Tue, 3 Feb 2015 10:28:29 +0000 (05:28 -0500)
commitfbcde04a386749dea1f1443724fc76446a0538ce
treee4ee981ded08e49636452bf772502b99866ec9dc
parent46f2d80c5d810608c1394bad46dd4a970d5b7d83
cls_rbd: fixed object_map_resize boundary issue

The object_map_resize sanity check ensures that a resize will
not erase state for an in-use object.  The check was incorrectly
including a block within the new object map range.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/cls/rbd/cls_rbd.cc