Skip to content

Commit a4e2a59

Browse files
committed
librados: use CEPH_OSD_FLAG_FULL_FORCE for IoCtxImpl::remove
librados::OPERATION_FULL_FORCE should be translated to CEPH_OSD_FLAG_FULL_FORCE before calling IoCtxImpl::remove(). Fixes: https://tracker.ceph.com/issues/64558 Signed-off-by: Chen Yuanrun <[email protected]>
1 parent 93c567e commit a4e2a59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librados/IoCtxImpl.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1235,7 +1235,7 @@ int librados::IoCtxImpl::remove(const object_t& oid)
12351235
::ObjectOperation op;
12361236
prepare_assert_ops(&op);
12371237
op.remove();
1238-
return operate(oid, &op, nullptr, librados::OPERATION_FULL_FORCE);
1238+
return operate(oid, &op, nullptr, CEPH_OSD_FLAG_FULL_FORCE);
12391239
}
12401240

12411241
int librados::IoCtxImpl::remove(const object_t& oid, int flags)

0 commit comments

Comments
 (0)