From: Madan Valluri Date: Tue, 6 Jun 2006 03:30:36 +0000 (+0000) Subject: Supply FILE * parameter of stderr to libxfs_report. X-Git-Tag: v2.9.0~87 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a582b09044d0ac93aa41a2e2bc6f469fcd5148bb;p=thirdparty%2Fxfsprogs-dev.git Supply FILE * parameter of stderr to libxfs_report. Supply FILE * parameter of stderr to libxfs_report. Call libxfs_report after each phase to report cache information. --- diff --git a/repair/xfs_repair.c b/repair/xfs_repair.c index 38a6c440f..92c90ca7f 100644 --- a/repair/xfs_repair.c +++ b/repair/xfs_repair.c @@ -506,9 +506,15 @@ main(int argc, char **argv) phase2(mp); + if (verbose) + libxfs_report(stderr); phase3(mp); + if (verbose) + libxfs_report(stderr); phase4(mp); + if (verbose) + libxfs_report(stderr); /* XXX: nathans - something in phase4 ain't playing by */ /* the buffer cache rules.. why doesn't IRIX hit this? */ @@ -521,6 +527,8 @@ main(int argc, char **argv) if (!bad_ino_btree) { phase6(mp); + if (verbose) + libxfs_report(stderr); phase7(mp); } else { @@ -583,7 +591,7 @@ _("Warning: project quota information would be cleared.\n" } if (verbose) - libxfs_report(); + libxfs_report(stderr); if (no_modify) { do_log(