projects
/
cumulus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
618f744
)
Fix a bug that caused blocks not to be properly re-used on checksum match.
author
Michael Vrable
<mvrable@cs.ucsd.edu>
Wed, 12 Dec 2007 19:36:50 +0000
(11:36 -0800)
committer
Michael Vrable
<mvrable@turin.ucsd.edu>
Wed, 12 Dec 2007 19:36:50 +0000
(11:36 -0800)
scandir.cc
patch
|
blob
|
history
diff --git
a/scandir.cc
b/scandir.cc
index
9727133
..
3a56d9c
100644
(file)
--- a/
scandir.cc
+++ b/
scandir.cc
@@
-189,7
+189,7
@@
int64_t dumpfile(int fd, dictionary &file_info, const string &path,
ref = ObjectReference(ObjectReference::REF_ZERO);
ref.set_range(0, bytes);
} else {
-
ObjectReference
ref = db->FindObject(block_csum, bytes);
+ ref = db->FindObject(block_csum, bytes);
}
// Store a copy of the object if one does not yet exist