Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
arpad-m committed Feb 11, 2025
1 parent 1d7a883 commit 18456d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pageserver/src/tenant/timeline/detach_ancestor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ pub(super) async fn prepare(

// FIXME: the fsync should be mandatory, after both rewrites and copies
if wrote_any {
fsync_timeline_dir(&detached, ctx).await;
fsync_timeline_dir(detached, ctx).await;
}
}

Expand Down Expand Up @@ -400,7 +400,7 @@ pub(super) async fn prepare(

// fsync directory again if we hardlinked something
if should_fsync {
fsync_timeline_dir(&detached, ctx).await;
fsync_timeline_dir(detached, ctx).await;
}

let prepared = PreparedTimelineDetach { layers: new_layers };
Expand Down

0 comments on commit 18456d3

Please sign in to comment.