correctly with sparse files; unallocated blocks should not
be treated as a discontinuity.
+2005-01-20 <tytso@snap.thunk.org>
+
+ * filefrag.c (frag_report): Fix filefrag so that it works
+ correctly with sparse files; unallocated blocks should not
+ be treated as a discontinuity.
+
2005-01-19 Theodore Ts'o <tytso@mit.edu>
* mke2fs.c (show_stats, set_os): Interpret OS Creator values for
last_block++;
}
block = get_bmap(fd, i);
- if (i && (block != last_block +1) ) {
+ if (i && block && (block != last_block +1) ) {
if (verbose)
printf("Discontinuity: Block %ld is at %ld (was %ld)\n",
i, block, last_block);