Skip to content

Commit ac14330

Browse files
committed
librbd: Clean up usage of IoCtx
Clean up of librbd::IoCtx to librados::IoCtx in Group.cc Signed-off-by: Miki Patel <[email protected]>
1 parent 693eabf commit ac14330

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/librbd/api/Group.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ int GroupSnapshot_to_group_snap_info2(
466466
image_snaps.reserve(cls_group_snap.snaps.size());
467467

468468
for (const auto& snap : cls_group_snap.snaps) {
469-
librbd::IoCtx image_ioctx;
469+
librados::IoCtx image_ioctx;
470470
int r = util::create_ioctx(group_ioctx, "image", snap.pool, {},
471471
&image_ioctx);
472472
if (r < 0) {
@@ -978,7 +978,7 @@ int Group<I>::snap_create(librados::IoCtx& group_ioctx,
978978
}
979979

980980
for (auto image: images) {
981-
librbd::IoCtx image_io_ctx;
981+
librados::IoCtx image_io_ctx;
982982
r = util::create_ioctx(group_ioctx, "image", image.spec.pool_id, {},
983983
&image_io_ctx);
984984
if (r < 0) {

0 commit comments

Comments
 (0)