From 18456d396fcc1e4e964310b81385eb212eaae7fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arpad=20M=C3=BCller?= Date: Tue, 11 Feb 2025 15:53:33 +0100 Subject: [PATCH] clippy --- pageserver/src/tenant/timeline/detach_ancestor.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pageserver/src/tenant/timeline/detach_ancestor.rs b/pageserver/src/tenant/timeline/detach_ancestor.rs index 81c9723805c2..b6347d12196f 100644 --- a/pageserver/src/tenant/timeline/detach_ancestor.rs +++ b/pageserver/src/tenant/timeline/detach_ancestor.rs @@ -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; } } @@ -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 };