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 */