]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: shadow variable in snap_unprotect and list_children 3344/head
authorJason Dillaman <dillaman@redhat.com>
Fri, 9 Jan 2015 13:19:43 +0000 (08:19 -0500)
committerJason Dillaman <dillaman@redhat.com>
Fri, 9 Jan 2015 13:28:18 +0000 (08:28 -0500)
commite9033bb121dddf2c61a58568946335947b3f2367
tree5fe5c0dbafdc2d5b20789d6ebeb683cc54e2beb5
parent3c1d3ddca5117f21f788b5b091e0b8b44f6c65fb
librbd: shadow variable in snap_unprotect and list_children

The shadow variable prevented snap_unprotect from returning the
correct error return code.

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