-E sync: reform logic. Prequery file position, jump over error hole.
[tfcrypt.git] / tfc_vars.c
index 498633425c722475543e0cf98533876245aabd0f..5f75952bdad9601aa0fbad0108eb1250ffe9f626 100644 (file)
@@ -45,6 +45,7 @@ tfc_fsize iseek_blocks, iseek, oseek, maxlen = NOFSIZE;
 tfc_fsize total_processed_src, total_processed_dst;
 tfc_fsize delta_processed;
 tfc_fsize genrandom_nr_bytes, genzero_nr_bytes;
+tfc_fsize rdpos = NOFSIZE;
 int sfd, kfd = -1, dfd = 1;
 struct stat s_stat;
 size_t blksize = TFC_BLKSIZE, xtsblocks = TFC_XTSBLOCKS;