From efa7d24a3f7c6f9c8a0ccaf83d9ed8a7082ef12b Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 30 Apr 2022 12:05:12 +0100 Subject: [PATCH] fastsplit: Move a comment to its right place Some time in the development of this, pre-squash, kthe modperm was acquired within the infallible closure. But when it was moved, evidently the comment didn't move with it. Fix that. Signed-off-by: Ian Jackson --- src/fastsplit.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/fastsplit.rs b/src/fastsplit.rs index 2c084fdd..96281349 100644 --- a/src/fastsplit.rs +++ b/src/fastsplit.rs @@ -91,6 +91,9 @@ impl InstanceGuard<'_> { &mut GPiece) -> Result { + // All this complicated machinery exists precisely to let us make + // pieces without having to save aux. + // // The "save later" part of this ought to be unnecessarily, because // we'll be running in piece API context which already does that. // But it is clearer to call the appropriate function. @@ -138,9 +141,6 @@ impl InstanceGuard<'_> { )?; (||{ - // All this complicated machinery exists precisely to let us make - // pieces without having to save aux. - let nipc = IFastSplits::make_ipc(&mut ig.ioccults.ilks, fs_record.ipc.clone()); let npiece = ig.gs.pieces.as_mut(modperm).insert(ngpc); -- 2.30.2