Skip to content

Commit e6d2e6c

Browse files
authored
Merge pull request ceph#55348 from chenyuanrun/fix-io-ctx-impl-flags
librados: use CEPH_OSD_FLAG_FULL_FORCE for IoCtxImpl::remove Reviewed-by: Radoslaw Zarzynski <[email protected]> Reviewed-by: Ilya Dryomov <[email protected]>
2 parents d61ec16 + a4e2a59 commit e6d2e6c

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)