From 2bd8483b06f581991836b48864b6ecbdd3c1b99c Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sun, 25 Nov 2012 11:18:29 +0000 Subject: Set refcount correctly --- larch/fsck.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/larch/fsck.py b/larch/fsck.py index e9d0f6e..7ca0111 100755 --- a/larch/fsck.py +++ b/larch/fsck.py @@ -106,7 +106,8 @@ class CheckRefcounts(WorkItem): refcount, self.fsck.refcounts[node_id])) if self.fsck.fix: - self.fsck.forest.node_store.set_refcount(node_id, refcount) + self.fsck.forest.node_store.set_refcount( + node_id, self.fsck.refcounts[node_id]) class CommitForest(WorkItem): -- cgit v1.2.1