indirect block, it doesn't falsely count an extra discontunity. (Addresses
Debian Bug #307607).
+2005-05-05 Theodore Ts'o <tytso@mit.edu>
+
+ * filefrag.c (frag_report): Fix so that when the first block to be
+ found is an indirect block, we don't falsely count an
+ extra discontinuity. (Addresses Debian Bug: #307607)
+
2005-04-16 Theodore Ts'o <tytso@mit.edu>
* badblocks.8.in, dumpe2fs.8.in, fsck.8.in, tune2fs.8.in: Fix
get_bmap(fd, 0), get_bmap(fd, numblocks - 1));
}
for (i=0; i < numblocks; i++) {
- if (is_ext2) {
+ if (is_ext2 && last_block) {
if (((i-EXT2_DIRECT) % bpib) == 0)
last_block++;
if (((i-EXT2_DIRECT-bpib) % (bpib*bpib)) == 0)