File dump-0.4b43-hole_handlig.patch of Package dump

Index: dump-0.4b43/dump/traverse.c
===================================================================
--- dump-0.4b43.orig/dump/traverse.c
+++ dump-0.4b43/dump/traverse.c
@@ -992,7 +992,7 @@ dumpino(struct dinode *dp, dump_ino_t in
 	bc.buf = (int *)malloc (bc.max * sizeof (int));
 	bc.cnt = 0;
 	bc.ino = ino;
-	bc.next_block = NDADDR;
+	bc.next_block = 0;
 
 	ext2fs_block_iterate2(fs, (ext2_ino_t)ino, BLOCK_FLAG_DATA_ONLY, NULL, dumponeblock, (void *)&bc);
 	/* deal with holes at the end of the inode */
openSUSE Build Service is sponsored by