File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -309,7 +309,6 @@ int group_snap_remove_by_record(librados::IoCtx& group_ioctx,
309309int group_snap_rollback_by_record (librados::IoCtx& group_ioctx,
310310 const cls::rbd::GroupSnapshot& group_snap,
311311 const std::string& group_id,
312- const std::string& group_header_oid,
313312 ProgressContext& pctx) {
314313 CephContext *cct = (CephContext *)group_ioctx.cct ();
315314 std::vector<C_SaferCond*> on_finishes;
@@ -1310,9 +1309,7 @@ int Group<I>::snap_rollback(librados::IoCtx& group_ioctx,
13101309 return -EINVAL;
13111310 }
13121311
1313- string group_header_oid = util::group_header_name (group_id);
1314- r = group_snap_rollback_by_record (group_ioctx, *group_snap, group_id,
1315- group_header_oid, pctx);
1312+ r = group_snap_rollback_by_record (group_ioctx, *group_snap, group_id, pctx);
13161313 return r;
13171314}
13181315
You can’t perform that action at this time.
0 commit comments