author | Alberto Bertogli
<albertito@gmail.com> 2004-08-30 06:42:13 UTC |
committer | Alberto Bertogli
<albertito@gmail.com> 2007-07-15 13:17:52 UTC |
parent | e6cf3c166102f823fb5519d34761b9f674f13153 |
check.c | +8 | -0 |
diff --git a/check.c b/check.c index 4c5a2f8..6c62c00 100644 --- a/check.c +++ b/check.c @@ -118,6 +118,14 @@ int jfsck(const char *name, struct jfsck_result *res) map = NULL; ret = 0; + res->total = 0; + res->invalid = 0; + res->in_progress = 0; + res->broken = 0; + res->corrupt = 0; + res->apply_error = 0; + res->reapplied = 0; + fs.fd = open(name, O_RDWR | O_SYNC | O_LARGEFILE); if (fs.fd < 0) { ret = J_ENOENT;