]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
RGW - Fix inverted return check 45225/head
authorDaniel Gryniewicz <dang@redhat.com>
Wed, 2 Mar 2022 15:54:29 +0000 (10:54 -0500)
committerDaniel Gryniewicz <dang@redhat.com>
Fri, 4 Mar 2022 15:10:57 +0000 (10:10 -0500)
commit988c09d5ad7d32238dbf59792ea336a6d933cef8
tree13348de01bd047ac0ff58a974cb31b1f0e670e1b
parentf735432033a131a8101d9f67b8c22b3d82a51a79
RGW - Fix inverted return check

get_obj_head_ioctx() returns the standard int but the call was casting
it to a bool, inverting it's meaning.  Fix it to act correctly.

Fixes: https://tracker.ceph.com/issues/54452
Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
src/rgw/rgw_rados.cc