dedup

deduplicating backup program
git clone git://git.2f30.org/dedup
Log | Files | Refs | README | LICENSE

commit 79255b6852407b7ba71207ead1e22887eca3e664
parent 6ff2339d17de2f963e216f164275cf0b96a1e206
Author: sin <sin@2f30.org>
Date:   Tue, 26 Feb 2019 11:21:56 +0000

No need to explicitly position fd

It is the responsibility of the caller to make sure that fd is
positioned correctly.  This is to be consistent with the way we walk
the cache.

Diffstat:
Mdedup.c | 1-
1 file changed, 0 insertions(+), 1 deletion(-)

diff --git a/dedup.c b/dedup.c @@ -405,7 +405,6 @@ walk_snap(int (*fn)(struct snapshot *, void *), void *arg) { uint64_t i; - xlseek(ifd, SNAPHDR_LEN, SEEK_SET); for (i = 0; i < snaphdr.nr_snapshots; i++) { struct snapshot *snap; int ret;