Skip to content

Commit 946e1e2

Browse files
committed
Disable page hole cut in backup_data_file()
1 parent 2ec6bc6 commit 946e1e2

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

data.c

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,9 @@ backup_data_file(const char *from_root, const char *to_root,
211211
if(stop_backup)
212212
break;
213213

214+
/* Disable page cut */
215+
header.hole_length = header.hole_offset = 0;
216+
214217
upper_offset = header.hole_offset + header.hole_length;
215218
upper_length = BLCKSZ - upper_offset;
216219

@@ -333,7 +336,10 @@ backup_data_file(const char *from_root, const char *to_root,
333336
break;
334337

335338
end_checks2:
336-
339+
340+
/* Disable page cut */
341+
header.hole_length = header.hole_offset = 0;
342+
337343
upper_offset = header.hole_offset + header.hole_length;
338344
upper_length = BLCKSZ - upper_offset;
339345

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy