tNo need to explicitly position fd - dedup - deduplicating backup program
(HTM) git clone git://git.z3bra.org/dedup.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 79255b6852407b7ba71207ead1e22887eca3e664
(DIR) parent 6ff2339d17de2f963e216f164275cf0b96a1e206
(HTM) 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
tthe cache.
Diffstat:
M dedup.c | 1 -
1 file changed, 0 insertions(+), 1 deletion(-)
---
(DIR) diff --git a/dedup.c b/dedup.c
t@@ -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;