]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
RGW - Fix inverted return check 45315/head
authorDaniel Gryniewicz <dang@redhat.com>
Wed, 2 Mar 2022 15:54:29 +0000 (10:54 -0500)
committerDaniel Gryniewicz <dang@redhat.com>
Tue, 8 Mar 2022 19:05:51 +0000 (14:05 -0500)
commitc4566681459a3d3eb5774cc7b0abeeebeeada838
treedb0b137a790d52ecc417b6bc6556e28bde7ee505
parent77b782875d733496cac8473a67f611f0795b892b
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>
(cherry picked from commit 988c09d5ad7d32238dbf59792ea336a6d933cef8)
src/rgw/rgw_rados.cc