Whamcloud - gitweb
Merge branch 'maint' into next
authorTheodore Ts'o <tytso@mit.edu>
Tue, 5 Dec 2017 03:24:01 +0000 (22:24 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 5 Dec 2017 03:24:01 +0000 (22:24 -0500)
1  2 
e2fsck/pass2.c
misc/e2freefrag.c

diff --cc e2fsck/pass2.c
Simple merge
@@@ -255,9 -152,12 +255,10 @@@ static errcode_t dump_chunk_info(ext2_f
        unsigned long start = 0, end;
        int i, retval = 0;
  
-       fprintf(f, "Total blocks: %llu\nFree blocks: %u (%0.1f%%)\n",
-               ext2fs_blocks_count(fs->super), fs->super->s_free_blocks_count,
-               (double)fs->super->s_free_blocks_count * 100 /
 -      scan_block_bitmap(fs, info);
 -
+       fprintf(f, "Total blocks: %llu\nFree blocks: %llu (%0.1f%%)\n",
+               ext2fs_blocks_count(fs->super),
+               ext2fs_free_blocks_count(fs->super),
+               (double)ext2fs_free_blocks_count(fs->super) * 100 /
                ext2fs_blocks_count(fs->super));
  
        if (info->chunkbytes) {