diff options
author | Lars Wirzenius <liw@liw.fi> | 2012-11-25 11:18:29 +0000 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2012-11-25 11:18:29 +0000 |
commit | 2bd8483b06f581991836b48864b6ecbdd3c1b99c (patch) | |
tree | ff1b8d1c3589eceb62589ee1b4f97297f0db8372 | |
parent | 97c7f7d84a5127bcb2cea15b319d52009f4333d2 (diff) | |
download | larch-2bd8483b06f581991836b48864b6ecbdd3c1b99c.tar.gz |
Set refcount correctly
-rwxr-xr-x | larch/fsck.py | 3 |
1 files changed, 2 insertions, 1 deletions
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): |