X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=dump%2Ftraverse.c;h=7450765263b16bf1ca7237cf70b4bc5780040192;hb=fd414635d2d9a8ad36e9de739050f574ea0291f7;hp=6ed1d287f3d572cbb7ec7f08cc4538ba9f36bc9e;hpb=640258c4f94bce05ebc0d56a83495d18029a5f25;p=debian%2Fdump diff --git a/dump/traverse.c b/dump/traverse.c index 6ed1d28..7450765 100644 --- a/dump/traverse.c +++ b/dump/traverse.c @@ -992,7 +992,7 @@ dumpino(struct dinode *dp, dump_ino_t ino, int metaonly) 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 */