From 3c43af79d56a25bfff3eae1c1342c9a308223347 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 9 Oct 2015 15:48:02 -0400 Subject: fix local dropping to not require extra locking of copies, but only that the local copy be locked for removal --- Assistant/Unused.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Assistant') diff --git a/Assistant/Unused.hs b/Assistant/Unused.hs index c71604679..55a04c597 100644 --- a/Assistant/Unused.hs +++ b/Assistant/Unused.hs @@ -77,7 +77,7 @@ expireUnused duration = do forM_ oldkeys $ \k -> do debug ["removing old unused key", key2file k] liftAnnex $ do - lockContentExclusive k removeAnnex + lockContentForRemoval k removeAnnex logStatus k InfoMissing where boundry = durationToPOSIXTime <$> duration -- cgit v1.2.3