+2006-04-22 Theodore Ts'o <tytso@mit.edu>
+
+ * filefrag.c: Make filefrag 32-bit clean, so that it works on
+ filesystems > 8TB.
+
2006-03-29 Theodore Ts'o <tytso@mit.edu>
* dumpe2fs.c (print_inline_journal_information): Print the size of
struct statfs fsinfo;
struct stat64 fileinfo;
int bs;
- long i, fd, block, last_block = 0, numblocks;
+ long i, fd;
+ unsigned long block, last_block = 0, numblocks;
long bpib; /* Blocks per indirect block */
long cylgroups;
int discont = 0, expected;
if (verbose) {
printf("File size of %s is %lld (%ld blocks)\n", filename,
(long long) fileinfo.st_size, numblocks);
- printf("First block: %ld\nLast block: %ld\n",
+ printf("First block: %lu\nLast block: %lu\n",
get_bmap(fd, 0), get_bmap(fd, numblocks - 1));
}
for (i=0; i < numblocks; i++) {
continue;
if (last_block && (block != last_block +1) ) {
if (verbose)
- printf("Discontinuity: Block %ld is at %ld (was %ld)\n",
+ printf("Discontinuity: Block %ld is at %lu (was %lu)\n",
i, block, last_block);
discont++;
}